diff --git a/src/app/services/chat/room.service.ts b/src/app/services/chat/room.service.ts index 5e4028fcd..bbed55b36 100644 --- a/src/app/services/chat/room.service.ts +++ b/src/app/services/chat/room.service.ts @@ -430,6 +430,7 @@ export class RoomService { message.delateRequest = true message.save() + this.deleteMessage(msgId) }, (response) => { @@ -437,7 +438,6 @@ export class RoomService { if (response.error.error.startsWith('No message found with the id of')) { this.deleteMessage(msgId) - message.delateRequest = true } else {