This commit is contained in:
Peter Maquiran
2022-02-09 14:07:34 +01:00
parent 012c5ccce6
commit 9a35ea30f0
6 changed files with 26 additions and 31 deletions
@@ -69,7 +69,7 @@ export class WsChatMethodsService {
}
})
// console.log("ROOMS" + JSON.stringify(rooms))
// this.WsChatService.registerCallback({
// type:'Onmessage',
// funx:(message) => {
@@ -85,10 +85,8 @@ export class WsChatMethodsService {
// }, 100)
// }
// }
// if(message.msg =='changed' && message.collection == "stream-notify-room") {
// if(message.fields.eventName.includes('deleteMessage')){
// } else if(message.msg =='changed' && message.collection == "stream-notify-room") {
// if(message.fields.eventName.includes('deleteMessage')) {
// // delete message
// const DeletedMessageId = message.fields.args[0]._id;
@@ -96,6 +94,8 @@ export class WsChatMethodsService {
// this.sortRoomList()
// }, 100)
// } else if(message.fields.eventName.includes('typing')) {
// }
// }
// }