Add checkbox to GroupAddressPicker for determining visibility of group rooms
This commit is contained in:
parent
80d4873542
commit
edc744067f
5 changed files with 26 additions and 11 deletions
|
@ -169,6 +169,12 @@ export default class GroupStore extends EventEmitter {
|
|||
.then(this._fetchMembers.bind(this));
|
||||
}
|
||||
|
||||
acceptGroupInvite() {
|
||||
return this._matrixClient.acceptGroupInvite(this.groupId)
|
||||
// The user might be able to see more rooms now
|
||||
.then(this._fetchRooms.bind(this));
|
||||
}
|
||||
|
||||
addRoomToGroupSummary(roomId, categoryId) {
|
||||
return this._matrixClient
|
||||
.addRoomToGroupSummary(this.groupId, roomId, categoryId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue