let anyone create aliases - fixes https://github.com/vector-im/vector-web/issues/1585
This commit is contained in:
parent
b9576754e6
commit
b366973151
1 changed files with 4 additions and 1 deletions
|
@ -773,7 +773,10 @@ module.exports = React.createClass({
|
|||
<AliasSettings ref="alias_settings"
|
||||
roomId={this.props.room.roomId}
|
||||
canSetCanonicalAlias={ roomState.mayClientSendStateEvent("m.room.canonical_alias", cli) }
|
||||
canSetAliases={ roomState.mayClientSendStateEvent("m.room.aliases", cli) }
|
||||
canSetAliases={
|
||||
true
|
||||
/* Originally, we arbitrarily restricted creating aliases to room admins: roomState.mayClientSendStateEvent("m.room.aliases", cli) */
|
||||
}
|
||||
canonicalAliasEvent={this.props.room.currentState.getStateEvents('m.room.canonical_alias', '')}
|
||||
aliasEvents={this.props.room.currentState.getStateEvents('m.room.aliases')} />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue