fix(Notifications): Added titles to duplicate check (#325)

This commit is contained in:
LiamD-Flop 2022-07-06 13:02:54 +02:00 committed by GitHub
parent 7fca37fa7b
commit 26457f0d35

View File

@ -14,7 +14,7 @@ namespace big
void notification_service::push(notification n)
{
this->notifications.emplace(std::hash<std::string>{}(n.message), n);
this->notifications.emplace(std::hash<std::string>{}(n.message + n.title), n);
}
void notification_service::push(std::string title, std::string message)