Support Heisenbridge short names
This commit is contained in:
parent
2b668080bd
commit
b7e502526b
1 changed files with 2 additions and 1 deletions
|
@ -1072,7 +1072,8 @@ class RoomBuffer(object):
|
||||||
user.user_id.startswith("@facebook_") or
|
user.user_id.startswith("@facebook_") or
|
||||||
user.user_id.startswith("@telegram_") or
|
user.user_id.startswith("@telegram_") or
|
||||||
user.user_id.startswith("@_telegram_") or
|
user.user_id.startswith("@_telegram_") or
|
||||||
user.user_id.startswith("@_xmpp_")):
|
user.user_id.startswith("@_xmpp_") or
|
||||||
|
user.user_id.startswith("@irc_")):
|
||||||
if user.display_name:
|
if user.display_name:
|
||||||
short_name = user.display_name[0:50]
|
short_name = user.display_name[0:50]
|
||||||
elif user.user_id.startswith("@twilio_"):
|
elif user.user_id.startswith("@twilio_"):
|
||||||
|
|
Loading…
Reference in a new issue