From e5ccb73a20f559983960db2daa08d6086c90b8ec Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 27 Jul 2017 13:49:44 +0300 Subject: Add serialization on matrix events --- include/events/JoinRulesEventContent.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/events/JoinRulesEventContent.h') diff --git a/include/events/JoinRulesEventContent.h b/include/events/JoinRulesEventContent.h index 746188e4..9b07e9a6 100644 --- a/include/events/JoinRulesEventContent.h +++ b/include/events/JoinRulesEventContent.h @@ -44,10 +44,11 @@ enum class JoinRule { * Describes how users are allowed to join the room. */ -class JoinRulesEventContent : public Deserializable +class JoinRulesEventContent : public Deserializable, public Serializable { public: void deserialize(const QJsonValue &data) override; + QJsonObject serialize() const override; inline JoinRule joinRule() const; -- cgit 1.5.1