Automatically reply encrypted to the same recipients.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4442 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-09-02 13:37:50 +00:00
parent 9751facfb4
commit d9782aa0fb

View File

@ -31,7 +31,9 @@ class TfMessageElement extends LitElement {
}
show_reply() {
let event = new CustomEvent('tf-draft', {bubbles: true, composed: true, detail: {id: this.message?.id, draft: ''}});
let event = new CustomEvent('tf-draft', {bubbles: true, composed: true, detail: {id: this.message?.id, draft: {
encrypt_to: this.message?.decrypted?.recps,
}}});
this.dispatchEvent(event);
}