Store hashtags on post

merge-requests/28/head
Bob Mottram 2022-08-22 18:45:18 +01:00
parent 28113b86df
commit 441fb0b2ab
1 changed files with 5 additions and 0 deletions

View File

@ -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):