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;
|