diff --git a/src/routes/notifications/helpers/notifications.js b/src/routes/notifications/helpers/notifications.js index 174b51680..16540ec58 100644 --- a/src/routes/notifications/helpers/notifications.js +++ b/src/routes/notifications/helpers/notifications.js @@ -324,16 +324,6 @@ const getNotificationRule = (notification) => { const notificationRule = _.find(NOTIFICATION_RULES, (_notificationRule) => { let match = _notificationRule.eventType === notification.eventType - // For supporting old topic name - if (!match) { - match = notification.eventType.includes('notifications.connect.') - } - - // For supporting old topic name - if (!match) { - match = notification.eventType.includes('connect.action.') - } - if (notification.version) { match = match && _notificationRule.version === notification.version }