From 4b1bb65c921c62c332a77095512a0071269ac7e7 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Tue, 9 Aug 2022 00:09:11 +0530 Subject: [PATCH] chore: Add notification ID to tag to make it unique (#5227) --- app/services/notification/push_notification_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/notification/push_notification_service.rb b/app/services/notification/push_notification_service.rb index 285ad1bc8..2f2bb11e3 100644 --- a/app/services/notification/push_notification_service.rb +++ b/app/services/notification/push_notification_service.rb @@ -33,7 +33,7 @@ class Notification::PushNotificationService def push_message { title: notification.push_message_title, - tag: "#{notification.notification_type}_#{conversation.display_id}", + tag: "#{notification.notification_type}_#{conversation.display_id}_#{notification.id}", url: push_url } end