diff options
Diffstat (limited to 'lib/csapi/redaction.cpp')
-rw-r--r-- | lib/csapi/redaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/redaction.cpp b/lib/csapi/redaction.cpp index aa6e3b65..2c73800c 100644 --- a/lib/csapi/redaction.cpp +++ b/lib/csapi/redaction.cpp @@ -24,7 +24,7 @@ RedactEventJob::RedactEventJob(const QString& roomId, const QString& eventId, co , d(new Private) { QJsonObject _data; - addToJson<IfNotEmpty>(_data, "reason", reason); + addParam<IfNotEmpty>(_data, "reason", reason); setRequestData(_data); } |