This commit is contained in:
Peter Maquiran
2022-03-23 23:01:40 +01:00
parent 7d646a4873
commit c369273830
+1 -2
View File
@@ -428,7 +428,6 @@ export class RoomService {
this.ChatMethodsService.deleteMessage({_id:msgId, msgId:msgId, roomId:message.rid}).subscribe(
(response: any) => {
const message = this.messages.find((e)=>e._id == msgId)
message.delateRequest = true
message.save()
@@ -438,7 +437,7 @@ export class RoomService {
if (response.error.error.startsWith('No message found with the id of')) {
this.deleteMessage(msgId)
const message = this.messages.find((e)=>e._id == msgId)
message.delateRequest = true
} else {