aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-12 18:51:35 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-12 18:51:35 +0100
commit4cc8838c3bbe712493a4f6ddbecd0f7093e907bb (patch)
treea0efd33b273d044acf380b1f1370cf27d50c6c96 /lib/events/event.h
parent39b80fa8eb9b70d287aa453663b845319d8b6196 (diff)
downloadlibquotient-4cc8838c3bbe712493a4f6ddbecd0f7093e907bb.tar.gz
libquotient-4cc8838c3bbe712493a4f6ddbecd0f7093e907bb.zip
More JSON key constants
Diffstat (limited to 'lib/events/event.h')
-rw-r--r--lib/events/event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index 5b9f20b7..b12dc9ad 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -59,12 +59,16 @@ static const auto TypeKey = QStringLiteral("type");
static const auto BodyKey = QStringLiteral("body");
static const auto ContentKey = QStringLiteral("content");
static const auto EventIdKey = QStringLiteral("event_id");
+static const auto SenderKey = QStringLiteral("sender");
+static const auto RoomIdKey = QStringLiteral("room_id");
static const auto UnsignedKey = QStringLiteral("unsigned");
static const auto StateKeyKey = QStringLiteral("state_key");
static const auto TypeKeyL = "type"_ls;
static const auto BodyKeyL = "body"_ls;
static const auto ContentKeyL = "content"_ls;
static const auto EventIdKeyL = "event_id"_ls;
+static const auto SenderKeyL = "sender"_ls;
+static const auto RoomIdKeyL = "room_id"_ls;
static const auto UnsignedKeyL = "unsigned"_ls;
static const auto RedactedCauseKeyL = "redacted_because"_ls;
static const auto PrevContentKeyL = "prev_content"_ls;