summary refs log tree commit diff
path: root/syweb/webclient/room
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-11-12 14:31:30 +0000
committerKegan Dougal <kegan@matrix.org>2014-11-12 14:31:30 +0000
commite632fcd933b7259853ba0522e052e73fd4f4e71a (patch)
treef17d43d93bea6806bd4ded75457c33b63d87b5b9 /syweb/webclient/room
parentRemove getRoomAliasAndDisplayName: room name logic is in mRoomName filter, an... (diff)
downloadsynapse-e632fcd933b7259853ba0522e052e73fd4f4e71a.tar.xz
SYWEB-57: Highlight rooms where the history has changed.
This highlights rooms when something has happened and you haven't viewed
it yet. It highlights entries in a slightly red background colour.
Diffstat (limited to 'syweb/webclient/room')
-rw-r--r--syweb/webclient/room/room-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/syweb/webclient/room/room-controller.js b/syweb/webclient/room/room-controller.js
index 6928754c5d..cf6ec08932 100644
--- a/syweb/webclient/room/room-controller.js
+++ b/syweb/webclient/room/room-controller.js
@@ -804,7 +804,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput', 'a
         console.log("onInit3");
 
         // Make recents highlight the current room
-        $scope.recentsSelectedRoomID = $scope.room_id;
+        $rootScope.recentsSelectedRoomID = $scope.room_id;
 
         // Init the history for this room
         history.init();