Add Copy context menu action

This commit is contained in:
2025-11-01 14:57:20 +03:00
Unverified
parent fc11d06570
commit 4b78218141
@@ -250,6 +250,15 @@ export function MessageContextMenu({
}, },
show: isAuthor || user.currentUser?.id === 1 show: isAuthor || user.currentUser?.id === 1
}, },
{
label: "Copy",
icon: "content_copy",
onClick: () => {
navigator.clipboard.writeText(message.content);
handleClose();
},
show: true
}
]; ];
// Quick reactions for the reaction bar // Quick reactions for the reaction bar