From b7e502526baf5d254e7d1525339a4c61a7ae0edd Mon Sep 17 00:00:00 2001 From: Toni Spets Date: Sun, 25 Apr 2021 13:57:22 +0300 Subject: [PATCH] Support Heisenbridge short names --- matrix/buffer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matrix/buffer.py b/matrix/buffer.py index 70049a9..d173dcb 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -1072,7 +1072,8 @@ class RoomBuffer(object): user.user_id.startswith("@facebook_") 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: short_name = user.display_name[0:50] elif user.user_id.startswith("@twilio_"):