summary refs log tree commit diff
path: root/src/events/JoinRulesEventContent.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-20 13:47:22 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-20 13:47:22 +0300
commit2644e4accaf7487ad51b205040163e42b76de3a4 (patch)
tree523db09ee380e05838bfb2a5eee60ca88aad6e52 /src/events/JoinRulesEventContent.cc
parentAdd missing destructors (diff)
downloadnheko-2644e4accaf7487ad51b205040163e42b76de3a4.tar.xz
Small style change
Diffstat (limited to 'src/events/JoinRulesEventContent.cc')
-rw-r--r--src/events/JoinRulesEventContent.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/events/JoinRulesEventContent.cc b/src/events/JoinRulesEventContent.cc

index 389ab9b8..0418966a 100644 --- a/src/events/JoinRulesEventContent.cc +++ b/src/events/JoinRulesEventContent.cc
@@ -19,7 +19,8 @@ using namespace matrix::events; -void JoinRulesEventContent::deserialize(const QJsonValue &data) +void +JoinRulesEventContent::deserialize(const QJsonValue &data) { if (!data.isObject()) throw DeserializationException("JoinRulesEventContent is not a JSON object"); @@ -43,7 +44,8 @@ void JoinRulesEventContent::deserialize(const QJsonValue &data) throw DeserializationException(QString("Unknown join_rule value: %1").arg(value).toUtf8().constData()); } -QJsonObject JoinRulesEventContent::serialize() const +QJsonObject +JoinRulesEventContent::serialize() const { QJsonObject object;