mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -367,8 +367,6 @@ export class RoomService {
|
||||
|
||||
if(this.messages[i]?._id == id ) {
|
||||
|
||||
|
||||
|
||||
console.log(_id,'==',this.messages[i]?._id, true)
|
||||
this.messages.splice(i, 1)
|
||||
|
||||
@@ -382,7 +380,7 @@ export class RoomService {
|
||||
if (SessionStore.user.RochetChatUser == this.messages[i].u.username) {
|
||||
const allMemberThatIsOffline = this.getAllMemberThatIsOffline()
|
||||
|
||||
await DeleteMessageModel.create({
|
||||
DeleteMessageModel.create({
|
||||
messageId: this.messages[i]._id,
|
||||
rid: this.messages[i].rid,
|
||||
ts: this.messages[i].ts,
|
||||
@@ -391,7 +389,7 @@ export class RoomService {
|
||||
})
|
||||
}
|
||||
|
||||
await this.messages[i].delateDB()
|
||||
this.messages[i].delateDB()
|
||||
|
||||
return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user