buffer: Use the display name for slack users as well.
This commit is contained in:
parent
199e6de2a7
commit
be0aae605f
1 changed files with 2 additions and 1 deletions
|
@ -942,7 +942,8 @@ class RoomBuffer(object):
|
||||||
|
|
||||||
# TODO handle this special case for discord bridge users and
|
# TODO handle this special case for discord bridge users and
|
||||||
# freenode bridge users better
|
# freenode bridge users better
|
||||||
if user.user_id.startswith("@_discord_"):
|
if (user.user_id.startswith("@_discord_") or
|
||||||
|
user.user_id.startswith("@_slack_")):
|
||||||
if user.display_name:
|
if user.display_name:
|
||||||
short_name = user.display_name
|
short_name = user.display_name
|
||||||
elif user.user_id.startswith("@freenode_"):
|
elif user.user_id.startswith("@freenode_"):
|
||||||
|
|
Loading…
Reference in a new issue