patch 08302dbf9ee8df43f79b27308551499d73115a72 Author: E. Bosch Date: Sat Mar 18 00:08:10 CET 2023 * telegram: Fix: use positive chat ids, it seems necessary at least in Telethon v1.24.0 diff -rN -u old-irgramd/telegram.py new-irgramd/telegram.py --- old-irgramd/telegram.py 2024-11-23 01:22:55.501162268 +0100 +++ new-irgramd/telegram.py 2024-11-23 01:22:55.505162262 +0100 @@ -142,9 +142,9 @@ async def set_irc_channel_from_telegram(self, chat): channel = self.get_telegram_channel(chat) - self.tid_to_iid[-chat.id] = channel + self.tid_to_iid[chat.id] = channel chan = channel.lower() - self.irc.iid_to_tid[chan] = -chat.id + self.irc.iid_to_tid[chan] = chat.id # Add users from the channel async for user in self.telegram_client.iter_participants(chat.id): user_nick = self.set_ircuser_from_telegram(user)