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 5b0eaeb941
commit 08cacf0b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)