diff --git a/bin/importer/feeders/Telegram.py b/bin/importer/feeders/Telegram.py index 2cc6a127..313a8c9b 100755 --- a/bin/importer/feeders/Telegram.py +++ b/bin/importer/feeders/Telegram.py @@ -67,7 +67,7 @@ class TelegramFeeder(DefaultFeeder): meta = self.json_data['meta'] mess_id = self.json_data['meta']['id'] if meta.get('reply_to'): - reply_to_id = meta['reply_to']['id'] + reply_to_id = int(meta['reply_to']) else: reply_to_id = None diff --git a/var/www/templates/objects/chat/ChatMessages.html b/var/www/templates/objects/chat/ChatMessages.html index aa0bdf35..dd99b250 100644 --- a/var/www/templates/objects/chat/ChatMessages.html +++ b/var/www/templates/objects/chat/ChatMessages.html @@ -118,7 +118,7 @@