Use mRoomName on join notifications as well.

pull/16/head
Kegan Dougal 2014-11-06 14:23:14 +00:00
parent b77cce4ec5
commit d4c20c472b
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
} }
notificationService.showNotification( notificationService.showNotification(
userName + userName +
" (" + (matrixService.getRoomIdToAliasMapping(event.room_id) || event.room_id) + ")", " (" + $filter("mRoomName")(event.room_id) + ")",
userName + " joined", userName + " joined",
event.content.avatar_url ? event.content.avatar_url : undefined, event.content.avatar_url ? event.content.avatar_url : undefined,
function() { function() {