diff --git a/src/assets/translations/en.json b/src/assets/translations/en.json index 3f9f80b..250d9e9 100644 --- a/src/assets/translations/en.json +++ b/src/assets/translations/en.json @@ -325,6 +325,10 @@ "copied_credentials_value": "Username: {userId} \nPassword: {password}", "copy_credentials_desc": "Your username and password are required to regain access to your chats from a new device or browser. We recommend storing these credentials in a secure location." }, + "delete_post": { + "confirm_text": "Are you sure you want to delete this message?", + "confirm_text_desc": "This action cannot be undone." + }, "purge_room": { "title": "Delete room?", "info": "All members and messages will be removed. This action cannot be undone.", diff --git a/src/components/Chat.vue b/src/components/Chat.vue index a5f3096..a1b1678 100644 --- a/src/components/Chat.vue +++ b/src/components/Chat.vue @@ -55,7 +55,7 @@ v-on:addquickreaction="addQuickReaction" v-on:addreply="addReply(selectedEvent)" v-on:edit="edit(selectedEvent)" - v-on:redact="redact(selectedEvent)" + v-on:redact="showDeletePostPopup = true" v-on:download="download(selectedEvent)" v-on:report="reportEvent(selectedEvent)" v-on:more=" @@ -304,6 +304,9 @@