add commnets

This commit is contained in:
Peter Maquiran
2022-01-29 20:01:16 +01:00
parent a2b435b492
commit 34208d8040
@@ -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) => {