From 9f0a08a3af793b2959cbc9543b75f0fe91d754bb Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 5 May 2024 20:06:04 +1200 Subject: [PATCH] add ability to delete any messages --- public/index.html | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index cdb01ac..7d44566 100644 --- a/public/index.html +++ b/public/index.html @@ -200,8 +200,9 @@
{{ selectedPeer.app_data || "Unknown" }}
-
-
+
+ +
{{ chatItem.lxmf_message.content }}
@@ -229,6 +230,17 @@
+ + +
+ + + + +
+
@@ -1005,6 +1017,13 @@ await this.loadLxmfMessages(this.selectedPeer.destination_hash); }, + onChatItemClick: function(chatItem) { + if(!chatItem.is_actions_expanded){ + chatItem.is_actions_expanded = true; + } else { + chatItem.is_actions_expanded = false; + } + }, }, computed: { isMobile() {