This commit is contained in:
tiago.kayaya
2022-02-08 15:41:40 +01:00
parent 00154bcd89
commit eea38ad05b
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -657,11 +657,11 @@ updateRoomEventss(roomId, collection:string, funx: Function, ) {
for (const [key, item] of Object.entries(this.wsMsgQueue)) {
if(item.loginRequired == true && this.isLogin == true) {
console.log('run msgQueue ', key)
//console.log('run msgQueue ', key)
this.ws.send(item);
delete this.wsMsgQueue[key]
} else if(item.loginRequired == false) {
console.log('run msgQueue ', key)
//console.log('run msgQueue ', key)
this.ws.send(item);
delete this.wsMsgQueue[key]
}