summary refs log tree commit diff
path: root/webclient/recents
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-04 11:19:28 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-04 13:43:48 +0200
commit7346ea85c08d0153644398be8d271169351b0c57 (patch)
treede83a64605e54a652db3520c15f6e51600def7d6 /webclient/recents
parentRe-apply fixes to the link-email screen to make it work again (in a somewhat ... (diff)
downloadsynapse-7346ea85c08d0153644398be8d271169351b0c57.tar.xz
Moved mRoomName filter into matrix-filter.js, a place for all generic filters using Matrix data.
Diffstat (limited to 'webclient/recents')
-rw-r--r--webclient/recents/recents-controller.js2
-rw-r--r--webclient/recents/recents.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/webclient/recents/recents-controller.js b/webclient/recents/recents-controller.js
index 4cf501b4e7..0f27f7a660 100644
--- a/webclient/recents/recents-controller.js
+++ b/webclient/recents/recents-controller.js
@@ -16,7 +16,7 @@
 
 'use strict';
 
-angular.module('RecentsController', ['matrixService', 'eventHandlerService'])
+angular.module('RecentsController', ['matrixService', 'matrixFilter', 'eventHandlerService'])
 .controller('RecentsController', ['$scope', 'matrixService', 'eventHandlerService', 
                                function($scope,  matrixService, eventHandlerService) {
     $scope.rooms = {};
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index 4db9e2ae90..a202473dd4 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -6,7 +6,7 @@
                ng-class="{'recentsRoomSelected': (room.room_id === recentsSelectedRoomID)}">
             <tr>
                 <td class="recentsRoomName">
-                    {{ room.room_id | roomName }}
+                    {{ room.room_id | mRoomName }}
                 </td>
                 <td class="recentsRoomSummaryTS">
                     {{ (room.lastMsg.ts) | date:'MMM d HH:mm' }}