Fix a incompatibility with "from_id" intruduced in Telethon 1.17
patch 83c559617ebe7e914b931b4b00a3f7e2c897c99a
Author: E. Bosch <presidev@AT@gmail.com>
Date: Fri Nov 20 00:47:57 CET 2020
* Fix a incompatibility with "from_id" intruduced in Telethon 1.17
This was breaking the reception of messages
See https://docs.telethon.dev/en/latest/misc/changelog.html?highlight=from_id#channel-comments-and-anonymous-admins-v1-17
hunk ./irc.py 285
- nick = await self.get_irc_nick_from_telegram_id(event.from_id)
+ nick = await self.get_irc_nick_from_telegram_id(event.sender_id)
hunk ./irc.py 300
- nick = await self.get_irc_nick_from_telegram_id(event.from_id)
+ nick = await self.get_irc_nick_from_telegram_id(event.sender_id)
hunk ./irc.py 336
- irc_nick = await self.get_irc_nick_from_telegram_id(event.action_message.from_id)
+ irc_nick = await self.get_irc_nick_from_telegram_id(event.action_message.sender_id)