mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fixe bug
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user