mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
- delete group implemented
- add group in progress
This commit is contained in:
+19
@@ -130,6 +130,15 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
value: function getAllRooms() {
|
||||
return this.http.get(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'rooms.get', this.options);
|
||||
}
|
||||
}, {
|
||||
key: "customsRooms",
|
||||
value: function customsRooms(params) {
|
||||
var opts = {
|
||||
headers: this.headers,
|
||||
params: params
|
||||
};
|
||||
return this.http.get(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'rooms.get', opts);
|
||||
}
|
||||
}, {
|
||||
key: "getAllPrivateGroups",
|
||||
value: function getAllPrivateGroups() {
|
||||
@@ -284,6 +293,16 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
value: function closeChannel(body) {
|
||||
return this.http.post(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'channels.close', body, this.options);
|
||||
}
|
||||
}, {
|
||||
key: "deleteGroup",
|
||||
value: function deleteGroup(body) {
|
||||
return this.http.post(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'groups.delete', body, this.options);
|
||||
}
|
||||
}, {
|
||||
key: "deleteChannel",
|
||||
value: function deleteChannel(body) {
|
||||
return this.http.post(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'channels.delete', body, this.options);
|
||||
}
|
||||
}]);
|
||||
|
||||
return ChatService;
|
||||
|
||||
Reference in New Issue
Block a user