doh - anyone can set their own tags...
This commit is contained in:
parent
97d42b3ad7
commit
c5099a837b
1 changed files with 1 additions and 5 deletions
|
@ -455,11 +455,7 @@ module.exports = React.createClass({
|
|||
}
|
||||
var can_set_canonical_alias = current_user_level >= canonical_alias_level;
|
||||
|
||||
var tag_level = state_default;
|
||||
if (events_levels['m.tag'] !== undefined) {
|
||||
tag_level = events_levels['m.tag'];
|
||||
}
|
||||
var can_set_tag = current_user_level >= tag_level;
|
||||
var can_set_tag = true;
|
||||
|
||||
var self = this;
|
||||
|
||||
|
|
Loading…
Reference in a new issue