summary refs log tree commit diff
path: root/include/events/TopicEventContent.h
diff options
context:
space:
mode:
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;