DMs: copy decrypted text instead of raw content

Changelog-Fixed: Copying text in DMs will now copy the decrypted text
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-07-21 15:51:44 -07:00
parent f2338dd646
commit 24c4d99f78
3 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ struct ChatroomView: View {
next_ev: ind == count-1 ? nil : thread.events[ind+1],
damus_state: damus
)
.event_context_menu(ev)
.event_context_menu(ev, privkey: damus.keypair.privkey)
.onTapGesture {
if thread.initial_event.id == ev.id {
//dismiss()