From ca5ba1e4a4d1734f7945fb61fd9ec98c2e13226c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 22 Aug 2022 17:25:30 +0100 Subject: [PATCH] Store hashtags when sending posts --- outbox.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/outbox.py b/outbox.py index 49f5709de..6e6011106 100644 --- a/outbox.py +++ b/outbox.py @@ -40,6 +40,7 @@ from media import replace_you_tube from media import replace_twitter from media import get_media_path from media import create_media_dirs +from inbox import store_hash_tags from inbox import inbox_update_index from announce import outbox_announce from announce import outbox_undo_announce @@ -408,6 +409,10 @@ def post_message_to_outbox(session, translate: {}, if message_json['type'] != 'Upgrade': outbox_name = 'outbox' + store_hash_tags(base_dir, post_to_nickname, domain, + http_prefix, domain_full, + message_json, translate) + # if this is a blog post or an event then save to its own box if message_json['type'] == 'Create': if has_object_dict(message_json):