diff --git a/public/index.html b/public/index.html
index 4feeb9e..c4ab117 100644
--- a/public/index.html
+++ b/public/index.html
@@ -815,6 +815,11 @@
async deleteChatItem(chatItem) {
try {
+ // ask user to confirm deleting message
+ if(!confirm("Are you sure you want to delete this message? This can not be undone!")){
+ return;
+ }
+
// make sure it's an lxmf message
if(chatItem.type !== "lxmf_message"){
return;