diff --git a/src/app/services/chat/ws-chat.service.ts b/src/app/services/chat/ws-chat.service.ts index ea9025388..d42a923ab 100644 --- a/src/app/services/chat/ws-chat.service.ts +++ b/src/app/services/chat/ws-chat.service.ts @@ -234,31 +234,6 @@ export class WsChatService { } - - /** - * @param roomId - * @param key - * @param funx - */ - receiveMyMessageConfirmation(roomId, funx: Function) { - - this.ws.registerCallback({ - type:'Onmessage', - funx:(message)=>{ - if(message.msg =='result') { - if(message.result) { - if(message.result.msg) { - if(message.result.rid == roomId) { - funx(message) - } - } - } - } - } - }) - - } - receiveLiveMessageFromRoom(roomId, funx: Function) { const key = roomId + funx;