summary refs log tree commit diff
path: root/syweb
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-11-06 14:23:14 +0000
committerKegan Dougal <kegan@matrix.org>2014-11-06 14:23:14 +0000
commitd4c20c472b82e2a8851374743ec5075a58bb71ff (patch)
tree8652128cb2ddf758879405252e64dbcc78545192 /syweb
parentAdd modelService test. Thin for now but will be expanded upon. (diff)
downloadsynapse-d4c20c472b82e2a8851374743ec5075a58bb71ff.tar.xz
Use mRoomName on join notifications as well.
Diffstat (limited to 'syweb')
-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 2e0f5faff0..a2bc23195d 100644
--- a/syweb/webclient/room/room-controller.js
+++ b/syweb/webclient/room/room-controller.js
@@ -207,7 +207,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
                     }
                     notificationService.showNotification(
                         userName +
-                        " (" + (matrixService.getRoomIdToAliasMapping(event.room_id) || event.room_id) + ")",
+                        " (" + $filter("mRoomName")(event.room_id) + ")",
                         userName + " joined",
                         event.content.avatar_url ? event.content.avatar_url : undefined,
                         function() {