mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
customise message when group name is changed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user