From 08cacf0b6edeb83c0bee062229d12ee71abbb445 Mon Sep 17 00:00:00 2001 From: LiamD-Flop <40887493+LiamD-Flop@users.noreply.github.com> Date: Wed, 6 Jul 2022 13:02:54 +0200 Subject: [PATCH] fix(Notifications): Added titles to duplicate check (#325) --- BigBaseV2/src/services/notifications/notification_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BigBaseV2/src/services/notifications/notification_service.cpp b/BigBaseV2/src/services/notifications/notification_service.cpp index a4c908c3..1723b4f1 100644 --- a/BigBaseV2/src/services/notifications/notification_service.cpp +++ b/BigBaseV2/src/services/notifications/notification_service.cpp @@ -14,7 +14,7 @@ namespace big void notification_service::push(notification n) { - this->notifications.emplace(std::hash{}(n.message), n); + this->notifications.emplace(std::hash{}(n.message + n.title), n); } void notification_service::push(std::string title, std::string message)