aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-31 08:56:38 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-31 08:56:38 +0900
commit0ec67c2f6ba0e122fb7274cec1aaa1ee398b9bfd (patch)
tree793383b93993d71b0a8fb48d22dd619fd75bf791 /lib/events/event.h
parent68358af90bdfbcb6f2884c6d1c795f1724cf840b (diff)
downloadlibquotient-0ec67c2f6ba0e122fb7274cec1aaa1ee398b9bfd.tar.gz
libquotient-0ec67c2f6ba0e122fb7274cec1aaa1ee398b9bfd.zip
RoomEvent: don't store transactionId separately
It's present on the vast minority of events so better be embedded into JSON instead.
Diffstat (limited to 'lib/events/event.h')
-rw-r--r--lib/events/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index 28d73e2a..8fa8c901 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -57,6 +57,7 @@ namespace QMatrixClient
static const auto TypeKey = QStringLiteral("type");
static const auto ContentKey = QStringLiteral("content");
static const auto EventIdKey = QStringLiteral("event_id");
+ static const auto UnsignedKey = QStringLiteral("unsigned");
static const auto TypeKeyL = "type"_ls;
static const auto ContentKeyL = "content"_ls;
static const auto EventIdKeyL = "event_id"_ls;