diff --git a/src/Notifier.js b/src/Notifier.js index 6f4da260ec..93ef192fe0 100644 --- a/src/Notifier.js +++ b/src/Notifier.js @@ -84,10 +84,6 @@ const Notifier = { msg = ''; } - const avatarUrl = ev.sender ? Avatar.avatarUrlForMember( - ev.sender, 40, 40, 'crop', - ) : null; - const avatarUrl = ev.sender ? Avatar.avatarUrlForMember(ev.sender, 40, 40, 'crop') : null; const notif = plaf.displayNotification(title, msg, avatarUrl, room);