Index: src/Notification.cpp |
=================================================================== |
--- a/src/Notification.cpp |
+++ b/src/Notification.cpp |
@@ -90,17 +90,17 @@ |
JsValue jsLinks = GetProperty("links"); |
if (!jsLinks.IsArray()) |
{ |
return retValue; |
} |
JsValueList urlLinksList = jsLinks.AsList(); |
for (const auto& link : urlLinksList) |
{ |
- retValue.push_back(link->AsString()); |
+ retValue.push_back(link.AsString()); |
} |
return retValue; |
} |
void Notification::MarkAsShown() |
{ |
jsEngine->Evaluate("API.markNotificationAsShown")->Call(GetProperty("id")); |
} |