patch 9c530196db77dfde94d09e8dfbee848665084731
Author: Lucas de Sena <lucas@seninha.org>
Date: Sat Jul 25 00:27:23 CEST 2026
* Merge pull request #16 on github from phillbush/show-reactions
add "show_reactions" option
Set it to false if you do not want to be annoyed with reactions and emojis.
hunk ./irgramd 107
+ tornado.options.define('show_reactions', default=True, help='Show reactions to messages')
hunk ./telegram.py 60
+ self.show_react = settings['show_reactions']
hunk ./telegram.py 601
+ if not self.show_react:
+ return
hunk ./telegram.py 618
+ if not self.show_react:
+ return
patch b785776c7df3016fb9c83aa7f7b9e51815435bab
Author: E. Bosch <presidev@AT@gmail.com>
Date: Thu Jul 23 18:06:45 CEST 2026
* Merge pull request #18 on github from phillbush/message-deleted-not-in-cache along with an option to configure the new behaviour
move "Message id ... deleted not in cache" into logger
TelegramServ can get filled with warnings like
Message id 012345 deleted not in cache
if you are in a channel/group that automatically deletes messages after
a certain time, and the deleted message is not in cache.
Warn that in the logger.
With "info" severity, because that's not actually an issue, just
something that can happen.
Add option "log_deleted" to enable this, by default false (use TelegramServ)
hunk ./irgramd 97
+ tornado.options.define('log_deleted', default=False, help='Deleted messages not in cache are logged, if disabled service user [TelegramServ] will notify them')
hunk ./telegram.py 63
+ self.log_del = settings['log_deleted']
hunk ./telegram.py 649
- text = 'Message id {} deleted not in cache'.format(deleted_id)
- await self.relay_telegram_private_message(self.irc.service_user, text)
+ if self.log_del:
+ self.logger.info('Message id {} deleted not in cache'.format(deleted_id))
+ else:
+ text = 'Message id {} deleted not in cache'.format(deleted_id)
+ await self.relay_telegram_private_message(self.irc.service_user, text)