Use mRoomName on join notifications as well.

This commit is contained in:
Kegan Dougal 2014-11-06 14:23:14 +00:00
parent b77cce4ec5
commit d4c20c472b

View File

@ -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() {