aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-02 19:59:40 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-02 19:59:40 +0900
commitc05ade838f0fce81f2bbe80a3295618a8a26ff52 (patch)
tree763340439a0f4034e9c829d76cb1ffe9766b83c5 /lib/events/event.cpp
parent1a1ea8fc87e827fa44c80ff30277e3bee62f4ebb (diff)
downloadlibquotient-c05ade838f0fce81f2bbe80a3295618a8a26ff52.tar.gz
libquotient-c05ade838f0fce81f2bbe80a3295618a8a26ff52.zip
Apply the new brace wrapping to source files
Diffstat (limited to 'lib/events/event.cpp')
-rw-r--r--lib/events/event.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/events/event.cpp b/lib/events/event.cpp
index 718a6602..694254fe 100644
--- a/lib/events/event.cpp
+++ b/lib/events/event.cpp
@@ -42,9 +42,7 @@ QString EventTypeRegistry::getMatrixType(event_type_t typeId)
: QString();
}
-Event::Event(Type type, const QJsonObject& json)
- : _type(type)
- , _json(json)
+Event::Event(Type type, const QJsonObject& json) : _type(type), _json(json)
{
if (!json.contains(ContentKeyL)
&& !json.value(UnsignedKeyL).toObject().contains(RedactedCauseKeyL)) {