telegram: Fix arguments in call to relay_telegram_message() in deleted handle
patch 2f799847198dd8bd7070520f56803c063d74d524
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sat May 6 21:04:28 CEST 2023
* telegram: Fix arguments in call to relay_telegram_message() in deleted handle
This should have been changed in patch "telegram: Change interface for received messages ..."
diff -rN -u old-irgramd/telegram.py new-irgramd/telegram.py
--- old-irgramd/telegram.py 2024-11-22 15:28:48.009845746 +0100
+++ new-irgramd/telegram.py 2024-11-22 15:28:48.009845746 +0100
@@ -434,7 +434,7 @@
text = '|Deleted| {}'.format(recovered_text)
user = self.cache[deleted_id]['user']
chan = self.cache[deleted_id]['channel']
- await self.relay_telegram_message(event=None, user=user, message=text, channel=chan)
+ await self.relay_telegram_message(message=None, user=user, text=text, channel=chan)
else:
mid = self.mid.num_to_id_offset(deleted_id)
text = 'Message id {} deleted not in cache'.format(mid)