remove key

This commit is contained in:
Peter Maquiran
2022-01-14 15:10:01 +01:00
parent e8408bc1ff
commit 7cd76e9a6d
-3
View File
@@ -236,11 +236,8 @@ export class WsChatService {
receiveLiveMessageFromRoom(roomId, funx: Function) {
const key = roomId + funx;
this.ws.registerCallback({
type:'Onmessage',
key: key,
funx:(message)=>{
if(message.msg =='changed' && message.collection == 'stream-room-messages') {
if(message.fields.args[0].rid == roomId) {