diff --git a/src/app/services/chat/ws-chat-methods.service.ts b/src/app/services/chat/ws-chat-methods.service.ts index eca8ae55b..6914bde47 100644 --- a/src/app/services/chat/ws-chat-methods.service.ts +++ b/src/app/services/chat/ws-chat-methods.service.ts @@ -150,9 +150,9 @@ export class WsChatMethodsService { /** * @deprecated things a room need to subscribe on - * @param id + * @param id room id */ - private defaultSubtribe(id) { + private defaultSubtribe(id: any) { this.WsChatService.streamRoomMessages(id).then((subscription)=>{ console.log('streamRoomMessages', subscription) }) @@ -206,10 +206,10 @@ export class WsChatMethodsService { } /** - * @description update user status + * @description update user status. this method is called once only * @param id user ID */ - getUserStatus(id?:string) { + private getUserStatus(id?:string) { this.WsChatService.getUserStatus((d) => {