Store hashtags when sending posts

main
Bob Mottram 2022-08-22 17:25:30 +01:00
parent 71583ff225
commit ca5ba1e4a4
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):