summary refs log tree commit diff
path: root/include/events/CreateEventContent.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-07-27 13:49:44 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-07-30 14:30:55 +0300
commite5ccb73a20f559983960db2daa08d6086c90b8ec (patch)
tree3212d0727d63611e5398e8eab2a3a4bc1cddbb5d /include/events/CreateEventContent.h
parentAppend backwards events after the spacer (diff)
downloadnheko-e5ccb73a20f559983960db2daa08d6086c90b8ec.tar.xz
Add serialization on matrix events
Diffstat (limited to 'include/events/CreateEventContent.h')
-rw-r--r--include/events/CreateEventContent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/events/CreateEventContent.h b/include/events/CreateEventContent.h

index a0e40fb8..eedee9f1 100644 --- a/include/events/CreateEventContent.h +++ b/include/events/CreateEventContent.h
@@ -29,10 +29,11 @@ namespace events * This is the first event in a room and cannot be changed. It acts as the root of all other events. */ -class CreateEventContent : public Deserializable +class CreateEventContent : public Deserializable, public Serializable { public: void deserialize(const QJsonValue &data) override; + QJsonObject serialize() const override; inline QString creator() const;