Skip to content

Commit

Permalink
changed the layout
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavpandey1998official committed Jun 24, 2019
1 parent 004501f commit ecca1e7
Show file tree
Hide file tree
Showing 4 changed files with 322 additions and 91 deletions.
3 changes: 3 additions & 0 deletions app/lib/rocketchat.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,9 @@ const RocketChat = {
// RC 0.48.0
return this.sdk.post(`${ this.roomTypeToApiType(t) }.unarchive`, { roomId });
},
hideRoom(roomId, t) {
return this.sdk.post(`${ this.roomTypeToApiType(t) }.close`, { roomId });
},
saveRoomSettings(rid, params) {
// RC 0.55.0
return this.sdk.methodCall('saveRoomSettings', rid, params);
Expand Down
Loading

0 comments on commit ecca1e7

Please sign in to comment.