Add the "add friends view to room creation
This commit is contained in:
parent
bad4f2bc61
commit
b246a134e2
5 changed files with 204 additions and 39 deletions
|
|
@ -65,14 +65,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
getRoomJoinRule() {
|
||||
if (this.room) {
|
||||
const joinRules = this.room.currentState.getStateEvents(
|
||||
"m.room.join_rules",
|
||||
""
|
||||
);
|
||||
return joinRules && joinRules.getContent().join_rule;
|
||||
}
|
||||
return null;
|
||||
return this.$matrix.getRoomJoinRule(this.room);
|
||||
},
|
||||
|
||||
updatePermissions() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue