aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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())