From 0dd491fbd189baaabadcab2344a05e3cf3898287 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 2 Jun 2018 13:32:47 +0900 Subject: csapi: Use Omittable<> container instead of intrusive 'omitted' field Also: use the latest feature of GTAD, +set/+on, to make gtad.yaml more compact. --- lib/csapi/admin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/csapi/admin.h') diff --git a/lib/csapi/admin.h b/lib/csapi/admin.h index e57c6cfe..087eabf0 100644 --- a/lib/csapi/admin.h +++ b/lib/csapi/admin.h @@ -6,9 +6,9 @@ #include "jobs/basejob.h" +#include #include #include "converters.h" -#include namespace QMatrixClient { @@ -22,7 +22,7 @@ namespace QMatrixClient struct ConnectionInfo { QString ip; - qint64 lastSeen; + Omittable lastSeen; QString userAgent; }; -- cgit v1.2.3