Create room entries for public rooms too so their public state is transferred over correctly when you join it.

This commit is contained in:
Kegan Dougal 2014-09-17 16:38:32 +01:00
parent 16f55d4275
commit aeaeceb92c
2 changed files with 3 additions and 0 deletions

View file

@ -517,6 +517,7 @@ function(matrixService, $rootScope, $q, $timeout, mPresence) {
if (!visible) {
return;
}
initRoom(room_id);
var room = $rootScope.events.rooms[room_id];
if (room) {