From 1fe0215e4472295968e2c03d183505bdb923a1a3 Mon Sep 17 00:00:00 2001 From: Joel Lehtonen Date: Mon, 11 Nov 2019 14:40:18 +0200 Subject: [PATCH] Some Telegram bridges use "_telegram" prefix instead of plain "telegram" --- matrix/buffer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix/buffer.py b/matrix/buffer.py index 09518fc..dfec6f7 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -1057,6 +1057,7 @@ class RoomBuffer(object): user.user_id.startswith("@whatsapp_") or user.user_id.startswith("@facebook_") or user.user_id.startswith("@telegram_") or + user.user_id.startswith("@_telegram_") or user.user_id.startswith("@_xmpp_")): if user.display_name: short_name = user.display_name[0:50]