diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-06 14:23:14 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-06 14:23:14 +0000 |
commit | d4c20c472b82e2a8851374743ec5075a58bb71ff (patch) | |
tree | 8652128cb2ddf758879405252e64dbcc78545192 /syweb | |
parent | Add modelService test. Thin for now but will be expanded upon. (diff) | |
download | synapse-d4c20c472b82e2a8851374743ec5075a58bb71ff.tar.xz |
Use mRoomName on join notifications as well.
Diffstat (limited to 'syweb')
-rw-r--r-- | syweb/webclient/room/room-controller.js | 2 |
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() { |