From c5099a837b68dc292138c545e1ceb884cd2953e4 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 21 Jan 2016 15:08:04 +0000 Subject: [PATCH] doh - anyone can set their own tags... --- src/components/views/rooms/RoomSettings.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index 53dedbe812..80218b31c9 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -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;