patch cbec6bc5a68bcadaaea6113355f12056d10cf577
Author: E. Bosch <presidev@AT@gmail.com>
Date: Fri Jun 23 23:49:58 CEST 2023
* telegram: Fix: in forwards when the original user is unknown use the ID
hunk ./telegram.py 212
- user = self.get_irc_user_from_telegram(peer_id)
- if user is None:
- name = '{}'
- self.refwd_me = True
+ try:
+ user = self.get_irc_user_from_telegram(peer_id)
+ except:
+ name = str(peer_id)
hunk ./telegram.py 217
- name = user.irc_nick
+ if user is None:
+ name = '{}'
+ self.refwd_me = True
+ else:
+ name = user.irc_nick