diff --git a/src/notification/index.js b/src/notification/index.js index dd1872c5afa..a15d32cc362 100644 --- a/src/notification/index.js +++ b/src/notification/index.js @@ -48,7 +48,7 @@ export const getAccountFromNotificationData = ( const urlMatches = []; identities.forEach((account, i) => { - if (account.realm.href === realmUrl.href) { + if (account.realm.host === realmUrl.host) { urlMatches.push(i); } });