mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add commnets
This commit is contained in:
@@ -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) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user