This commit is contained in:
tiago.kayaya
2021-01-20 13:17:54 +01:00
parent 38765d4da9
commit bae1f89b73
6 changed files with 28 additions and 13 deletions
+7
View File
@@ -67,6 +67,13 @@ export class ChatService {
getAllRooms(){
return this.http.get(environment.apiChatUrl+'rooms.get', this.options);
}
customsRooms(params:any){
let opts = {
headers: this.headers,
params: params
}
return this.http.get(environment.apiChatUrl+'rooms.get', opts);
}
getAllPrivateGroups(){
return this.http.get(environment.apiChatUrl+'groups.list', this.options);
}