Refresh group rooms and members when selecting a tag
This commit is contained in:
parent
4d8394954c
commit
56ec7713bb
2 changed files with 20 additions and 0 deletions
|
@ -233,6 +233,14 @@ class GroupStore extends EventEmitter {
|
|||
(this._state[this.STATE_KEY.Summary][groupId] || {}).user.is_privileged : null;
|
||||
}
|
||||
|
||||
refreshGroupRooms(groupId) {
|
||||
return this._fetchResource(this.STATE_KEY.GroupRooms, groupId);
|
||||
}
|
||||
|
||||
refreshGroupMembers(groupId) {
|
||||
return this._fetchResource(this.STATE_KEY.GroupMembers, groupId);
|
||||
}
|
||||
|
||||
addRoomToGroup(groupId, roomId, isPublic) {
|
||||
return MatrixClientPeg.get()
|
||||
.addRoomToGroup(groupId, roomId, isPublic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue