Skip to content

Commit

Permalink
fix: [chat-subchannel] card empty chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Mar 19, 2024
1 parent d37a56b commit 9a0e77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib/objects/ail_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 9a0e77d

Please sign in to comment.