summary refs log tree commit diff
path: root/syweb/webclient/recents/recents-controller.js
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-11-17 10:04:36 +0000
committerKegan Dougal <kegan@matrix.org>2014-11-17 10:04:36 +0000
commit547adda446c3ddf66c6666f681a279582d5f5320 (patch)
tree2f4092bcde608e94eaf14177573716d9f7385139 /syweb/webclient/recents/recents-controller.js
parents/eventHandlerService.getUsersCountInRoom/modelService.getUserCountInRoom/g (diff)
downloadsynapse-547adda446c3ddf66c6666f681a279582d5f5320.tar.xz
Move getLastMessage to modelService.
Diffstat (limited to 'syweb/webclient/recents/recents-controller.js')
-rw-r--r--syweb/webclient/recents/recents-controller.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/syweb/webclient/recents/recents-controller.js b/syweb/webclient/recents/recents-controller.js
index 41720d4cb0..6b2915d03b 100644
--- a/syweb/webclient/recents/recents-controller.js
+++ b/syweb/webclient/recents/recents-controller.js
@@ -17,11 +17,11 @@
 'use strict';
 
 angular.module('RecentsController', ['matrixService', 'matrixFilter'])
-.controller('RecentsController', ['$rootScope', '$scope', 'eventHandlerService', 'modelService', 'recentsService',
-                               function($rootScope, $scope, eventHandlerService, modelService, recentsService) {
+.controller('RecentsController', ['$rootScope', '$scope', 'modelService', 'recentsService',
+                               function($rootScope, $scope, modelService, recentsService) {
 
     // Expose the service to the view
-    $scope.eventHandlerService = eventHandlerService;
+    $scope.modelService = modelService;
     
     // retrieve all rooms and expose them
     $scope.rooms = modelService.getRooms();