summary refs log tree commit diff
path: root/include/events/TopicEventContent.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/TopicEventContent.h
parentAppend backwards events after the spacer (diff)
downloadnheko-e5ccb73a20f559983960db2daa08d6086c90b8ec.tar.xz
Add serialization on matrix events
Diffstat (limited to 'include/events/TopicEventContent.h')
-rw-r--r--include/events/TopicEventContent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/events/TopicEventContent.h b/include/events/TopicEventContent.h

index 460d019e..ff2fe3bb 100644 --- a/include/events/TopicEventContent.h +++ b/include/events/TopicEventContent.h
@@ -29,10 +29,11 @@ namespace events * A topic is a short message detailing what is currently being discussed in the room. */ -class TopicEventContent : public Deserializable +class TopicEventContent : public Deserializable, public Serializable { public: void deserialize(const QJsonValue &data) override; + QJsonObject serialize() const override; inline QString topic() const;