fix(Notifications): Added titles to duplicate check (#325)
This commit is contained in:
parent
5b0eaeb941
commit
08cacf0b6e
@ -14,7 +14,7 @@ namespace big
|
|||||||
|
|
||||||
void notification_service::push(notification n)
|
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)
|
void notification_service::push(std::string title, std::string message)
|
||||||
|
Reference in New Issue
Block a user