aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/admin.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-02 13:32:47 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-02 13:32:47 +0900
commit0dd491fbd189baaabadcab2344a05e3cf3898287 (patch)
tree13b8ebe63ba8b156ddd6ddab8b0ad2845d7c9c42 /lib/csapi/admin.h
parente7ac6f3480358fd989c8a3090590d665d18e1cec (diff)
downloadlibquotient-0dd491fbd189baaabadcab2344a05e3cf3898287.tar.gz
libquotient-0dd491fbd189baaabadcab2344a05e3cf3898287.zip
csapi: Use Omittable<> container instead of intrusive 'omitted' field
Also: use the latest feature of GTAD, +set/+on, to make gtad.yaml more compact.
Diffstat (limited to 'lib/csapi/admin.h')
-rw-r--r--lib/csapi/admin.h4
1 files changed, 2 insertions, 2 deletions
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 <QtCore/QVector>
#include <QtCore/QHash>
#include "converters.h"
-#include <QtCore/QVector>
namespace QMatrixClient
{
@@ -22,7 +22,7 @@ namespace QMatrixClient
struct ConnectionInfo
{
QString ip;
- qint64 lastSeen;
+ Omittable<qint64> lastSeen;
QString userAgent;
};