diff --git a/bin/importer/feeders/abstract_chats_feeder.py b/bin/importer/feeders/abstract_chats_feeder.py index f62500c7..c075a312 100755 --- a/bin/importer/feeders/abstract_chats_feeder.py +++ b/bin/importer/feeders/abstract_chats_feeder.py @@ -258,7 +258,7 @@ class AbstractChatFeeder(DefaultFeeder, ABC): obj.add(date, message) obj.set_parent(obj_global_id=message.get_global_id()) - for obj in objs: # TODO PERF avoid parsing metas multpile times + for obj in objs: # TODO PERF avoid parsing metas multiple times # CHAT chat = self.process_chat(obj, date, timestamp, reply_id=reply_id) diff --git a/bin/lib/chats_viewer.py b/bin/lib/chats_viewer.py index bae98988..8c201c4b 100755 --- a/bin/lib/chats_viewer.py +++ b/bin/lib/chats_viewer.py @@ -337,7 +337,7 @@ def api_get_message(message_id): message = Messages.Message(message_id) if not message.exists(): return {"status": "error", "reason": "Unknown uuid"}, 404 - meta = message.get_meta({'chat', 'content', 'icon', 'link', 'parent', 'parent_meta', 'user-account'}) + meta = message.get_meta({'chat', 'content', 'icon', 'images', 'link', 'parent', 'parent_meta', 'user-account'}) # if meta['chat']: # print(meta['chat']) # # meta['chat'] = diff --git a/var/www/templates/chats_explorer/ChatMessage.html b/var/www/templates/chats_explorer/ChatMessage.html index 0e96015c..5a129e66 100644 --- a/var/www/templates/chats_explorer/ChatMessage.html +++ b/var/www/templates/chats_explorer/ChatMessage.html @@ -134,6 +134,9 @@ + {% include 'objects/image/block_blur_img_slider.html' %} + +