Check scope

main
Bob Mottram 2022-11-16 11:08:46 +00:00
parent 7a64a58223
commit 2289eaba44
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ def html_new_post(edit_post_params: {},
conversation_id = edited_post_json['object']['conversation'] conversation_id = edited_post_json['object']['conversation']
if edit_post_params.get('replyTo'): if edit_post_params.get('replyTo'):
in_reply_to = edit_post_params['replyTo'] in_reply_to = edit_post_params['replyTo']
if box_name == 'dm': if edit_post_params['scope'] == 'dm':
mentions = edited_post_json['object']['to'] mentions = edited_post_json['object']['to']
# default subject line or content warning # default subject line or content warning