diff options
Diffstat (limited to 'lib/csapi/notifications.cpp')
-rw-r--r-- | lib/csapi/notifications.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/notifications.cpp b/lib/csapi/notifications.cpp index 9bff072b..9329857d 100644 --- a/lib/csapi/notifications.cpp +++ b/lib/csapi/notifications.cpp @@ -23,7 +23,7 @@ namespace QMatrixClient const auto& _json = jv.toObject(); GetNotificationsJob::Notification result; result.actions = - fromJson<QVector<QJsonObject>>(_json.value("actions")); + fromJson<QVector<QVariant>>(_json.value("actions")); result.event = fromJson<EventPtr>(_json.value("event")); result.profileTag = |