summary refs log tree commit diff
path: root/syweb/webclient/app.js
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-11-12 14:55:57 +0000
committerKegan Dougal <kegan@matrix.org>2014-11-12 14:57:36 +0000
commit96cd467cfa129acaf8814e574c7cc2a9a94459c5 (patch)
tree37daca99cdb5553903f4a76f5e942dab3376e79f /syweb/webclient/app.js
parentDocument StateStore and use transactions (diff)
downloadsynapse-96cd467cfa129acaf8814e574c7cc2a9a94459c5.tar.xz
Add recents-service to store shared state between recents-controllers.
Remove the selectedRoomId from rootScope and instead store it in
recents-service. Add a broadcast to notify listeners (recents-controller)
to updates of this.
Diffstat (limited to 'syweb/webclient/app.js')
-rw-r--r--syweb/webclient/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/syweb/webclient/app.js b/syweb/webclient/app.js
index 17b2bb6e8f..35190a71f4 100644
--- a/syweb/webclient/app.js
+++ b/syweb/webclient/app.js
@@ -31,6 +31,7 @@ var matrixWebClient = angular.module('matrixWebClient', [
     'eventStreamService',
     'eventHandlerService',
     'notificationService',
+    'recentsService',
     'modelService',
     'infinite-scroll',
     'ui.bootstrap',