Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
let anyone create aliases - fixes element-hq/element-web#1585
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Sep 27, 2016
1 parent b957675 commit b366973
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/views/rooms/RoomSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')} />

Expand Down

0 comments on commit b366973

Please sign in to comment.