diff --git a/src/skins/vector/views/organisms/Notifier.js b/src/skins/vector/views/organisms/Notifier.js index bbd2563d..8a9b2ffd 100644 --- a/src/skins/vector/views/organisms/Notifier.js +++ b/src/skins/vector/views/organisms/Notifier.js @@ -58,9 +58,9 @@ var NotifierView = { if (ev.getContent().body) msg = ev.getContent().body; } - var avatarUrl = Avatar.avatarUrlForMember( + var avatarUrl = ev.sender ? Avatar.avatarUrlForMember( ev.sender, 40, 40, 'crop' - ); + ) : null; var notification = new global.Notification( title,