diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-17 16:38:32 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-17 16:38:40 +0100 |
commit | aeaeceb92c648bf99bce60eb1bc77fcc81020d53 (patch) | |
tree | c350747a5ac10806ad1fb7eec9314aa8e710f0b3 /webclient/home | |
parent | webclient SYWEB-3 : Public rooms are bold. Can't think of a nicer way which d... (diff) | |
download | synapse-aeaeceb92c648bf99bce60eb1bc77fcc81020d53.tar.xz |
Create room entries for public rooms too so their public state is transferred over correctly when you join it.
Diffstat (limited to 'webclient/home')
-rw-r--r-- | webclient/home/home-controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webclient/home/home-controller.js b/webclient/home/home-controller.js index 8ba817ca68..e35219bebb 100644 --- a/webclient/home/home-controller.js +++ b/webclient/home/home-controller.js @@ -53,6 +53,8 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen // Add room_alias & room_display_name members angular.extend(room, matrixService.getRoomAliasAndDisplayName(room)); + + eventHandlerService.setRoomVisibility(room.room_id, "public"); } } ); |