Some Telegram bridges use "_telegram" prefix instead of plain "telegram"
This commit is contained in:
parent
69ad2a9c03
commit
1fe0215e44
1 changed files with 1 additions and 0 deletions
|
@ -1057,6 +1057,7 @@ class RoomBuffer(object):
|
||||||
user.user_id.startswith("@whatsapp_") or
|
user.user_id.startswith("@whatsapp_") or
|
||||||
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("@_xmpp_")):
|
user.user_id.startswith("@_xmpp_")):
|
||||||
if user.display_name:
|
if user.display_name:
|
||||||
short_name = user.display_name[0:50]
|
short_name = user.display_name[0:50]
|
||||||
|
|
Loading…
Reference in a new issue