mirror of https://gitlab.com/bashrc2/epicyon
Include recipients in edited dm
parent
07444e0658
commit
7a64a58223
|
@ -19225,6 +19225,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
print('WARN: no nickname found when receiving ' + post_type +
|
||||
' path ' + path)
|
||||
return -1
|
||||
|
||||
# get the message id of an edited post
|
||||
edited_postid = None
|
||||
if '?editid=' in path:
|
||||
|
|
|
@ -280,6 +280,8 @@ def html_new_post(edit_post_params: {},
|
|||
conversation_id = edited_post_json['object']['conversation']
|
||||
if edit_post_params.get('replyTo'):
|
||||
in_reply_to = edit_post_params['replyTo']
|
||||
if box_name == 'dm':
|
||||
mentions = edited_post_json['object']['to']
|
||||
|
||||
# default subject line or content warning
|
||||
default_subject = ''
|
||||
|
|
Loading…
Reference in New Issue