From 9a0e77dbbd059e9ced421c9ad3bc55f033f7ba19 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 19 Mar 2024 11:14:32 +0100 Subject: [PATCH] fix: [chat-subchannel] card empty chat --- bin/lib/objects/ail_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/objects/ail_objects.py b/bin/lib/objects/ail_objects.py index bd4e7668..2ff619ce 100755 --- a/bin/lib/objects/ail_objects.py +++ b/bin/lib/objects/ail_objects.py @@ -254,7 +254,7 @@ def get_objects_meta(objs, options=set(), flask_context=False): def get_object_card_meta(obj_type, subtype, id, related_btc=False): obj = get_object(obj_type, subtype, id) - meta = obj.get_meta(options={'created_at', 'icon', 'info', 'nb_messages', 'nb_participants'}) + meta = obj.get_meta(options={'chat', 'created_at', 'icon', 'info', 'nb_messages', 'nb_participants', 'threads'}) # meta['icon'] = obj.get_svg_icon() meta['svg_icon'] = obj.get_svg_icon() if subtype or obj_type == 'cookie-name' or obj_type == 'cve' or obj_type == 'etag' or obj_type == 'title' or obj_type == 'favicon' or obj_type == 'hhhash':