mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve
This commit is contained in:
@@ -751,13 +751,14 @@ export class RoomService {
|
||||
this.hasLoadHistoryMessageRF.includes(message?.localReference)
|
||||
);
|
||||
|
||||
await this.messages.forEach( async (message, i) => {
|
||||
|
||||
let i = 0
|
||||
for(let message of this.messages) {
|
||||
if(this.hasLoadHistoryMessageRF.includes(message?.localReference)) {
|
||||
this.messages.splice(i, 1)
|
||||
}
|
||||
|
||||
})
|
||||
i++;
|
||||
}
|
||||
|
||||
this.hasLoadHistoryMessageRF = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user