aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/notifications.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/notifications.cpp')
-rw-r--r--lib/csapi/notifications.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/notifications.cpp b/lib/csapi/notifications.cpp
index 78cd6f49..785a0a8a 100644
--- a/lib/csapi/notifications.cpp
+++ b/lib/csapi/notifications.cpp
@@ -32,7 +32,7 @@ namespace QMatrixClient
result.roomId =
fromJson<QString>(jo.value("room_id"_ls));
result.ts =
- fromJson<qint64>(jo.value("ts"_ls));
+ fromJson<int>(jo.value("ts"_ls));
return result;
}