doh - anyone can set their own tags...

This commit is contained in:
Matthew Hodgson 2016-01-21 15:08:04 +00:00
parent 97d42b3ad7
commit c5099a837b

View file

@ -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;