customise message when group name is changed

This commit is contained in:
tiago.kayaya
2021-01-27 12:45:48 +01:00
parent d12a378836
commit 247daffbeb
7 changed files with 24 additions and 102 deletions
-15
View File
@@ -84,23 +84,8 @@ export class ChatService {
getAllConnectedUsers(){
return this.http.get(environment.apiChatUrl+'users.presence', this.options);
}
//Check whether user is online or offline
getUserPresence(id:any){
let params = new HttpParams();
params = params.set("userId", id);
let opts = {
headers: this.headers,
params: params
}
return this.http.get(environment.apiChatUrl+'users.getPresence', opts);
}
//Load messages from roomId
loadJoinedRooms(){
return this.http.get(environment.apiChatUrl+'im.list', this.options);
}
getAllDirectMessages(){
return this.http.get(environment.apiChatUrl+'im.list', this.options);
}