buffer: Fix off by one error for freenode display names.
This commit is contained in:
parent
e72014859d
commit
70d577b89e
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ class RoomBuffer(object):
|
|||
if user.display_name:
|
||||
short_name = user.display_name
|
||||
elif user.user_id.startswith("@freenode_"):
|
||||
short_name = shorten_sender(user.user_id[10:])
|
||||
short_name = shorten_sender(user.user_id[9:])
|
||||
|
||||
# TODO make this configurable
|
||||
if not short_name or short_name in self.displayed_nicks.values():
|
||||
|
|
Loading…
Add table
Reference in a new issue