diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-17 10:04:36 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-17 10:04:36 +0000 |
commit | 547adda446c3ddf66c6666f681a279582d5f5320 (patch) | |
tree | 2f4092bcde608e94eaf14177573716d9f7385139 /syweb/webclient/recents/recents-controller.js | |
parent | s/eventHandlerService.getUsersCountInRoom/modelService.getUserCountInRoom/g (diff) | |
download | synapse-547adda446c3ddf66c6666f681a279582d5f5320.tar.xz |
Move getLastMessage to modelService.
Diffstat (limited to 'syweb/webclient/recents/recents-controller.js')
-rw-r--r-- | syweb/webclient/recents/recents-controller.js | 6 |
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(); |