aboutsummaryrefslogtreecommitdiff
path: root/lib/events/redactionevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 21:01:33 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-01 21:01:33 +0900
commit1e42eca5c3d864750609eacd4996794c901c6c37 (patch)
tree88a2ca014bfd38bdbd2c30cd3918fc49dd7a7255 /lib/events/redactionevent.h
parent38934c2310b426be640988dc10f48de88a3d92bc (diff)
parent2a341e30ef2db74b331a8870ceb2f182af68f194 (diff)
downloadlibquotient-1e42eca5c3d864750609eacd4996794c901c6c37.tar.gz
libquotient-1e42eca5c3d864750609eacd4996794c901c6c37.zip
Merge branch 'master' into kitsune-gtad
Diffstat (limited to 'lib/events/redactionevent.h')
-rw-r--r--lib/events/redactionevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/redactionevent.h b/lib/events/redactionevent.h
index fa6902ab..829b9085 100644
--- a/lib/events/redactionevent.h
+++ b/lib/events/redactionevent.h
@@ -27,7 +27,7 @@ namespace QMatrixClient
public:
static constexpr const char* const TypeId = "m.room.redaction";
- RedactionEvent(const QJsonObject& obj)
+ explicit RedactionEvent(const QJsonObject& obj)
: RoomEvent(Type::Redaction, obj)
, _redactedEvent(obj.value("redacts").toString())
, _reason(contentJson().value("reason").toString())