mirror of https://gitlab.com/bashrc2/epicyon
Check scope
parent
7a64a58223
commit
2289eaba44
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue