patch 7e550077a65e4737ca30a81e0decbcb4db0485a4
Author: E. Bosch <presidev@AT@gmail.com>
Date: Fri Sep 20 23:50:13 CEST 2024
* telegram: Don't truncate text for reactions of replies
diff -rN -u old-irgramd/telegram.py new-irgramd/telegram.py
--- old-irgramd/telegram.py 2024-11-22 10:24:02.742809083 +0100
+++ new-irgramd/telegram.py 2024-11-22 10:24:02.742809083 +0100
@@ -537,7 +537,7 @@
# Reactions
else:
action = 'React'
- if len(message_rendered) > self.quote_len:
+ if len(message_rendered) > self.quote_len and not event.message.is_reply:
text_old = '{}...'.format(message_rendered[:self.quote_len])
text_old = fix_braces(text_old)
else: