patch d168c6b0635df9185312cd63f8332647d85bac4b
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sat Mar 18 04:42:34 CET 2023
* telegram: Support empty (only containing self user) chats
diff -rN -u old-irgramd/telegram.py new-irgramd/telegram.py
--- old-irgramd/telegram.py 2024-11-22 21:22:47.152110189 +0100
+++ new-irgramd/telegram.py 2024-11-22 21:22:47.156110183 +0100
@@ -145,6 +145,7 @@
self.tid_to_iid[chat.id] = channel
chan = channel.lower()
self.irc.iid_to_tid[chan] = chat.id
+ self.irc.irc_channels[chan] = set()
# Add users from the channel
async for user in self.telegram_client.iter_participants(chat.id):
user_nick = self.set_ircuser_from_telegram(user)