aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/filter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/filter.cpp')
-rw-r--r--lib/csapi/filter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/filter.cpp b/lib/csapi/filter.cpp
index bb3a893f..6b8863cc 100644
--- a/lib/csapi/filter.cpp
+++ b/lib/csapi/filter.cpp
@@ -13,7 +13,7 @@ DefineFilterJob::DefineFilterJob(const QString& userId, const Filter& filter)
QStringLiteral("/_matrix/client/r0") % "/user/" % userId
% "/filter")
{
- setRequestData(Data(toJson(filter)));
+ setRequestData(RequestData(toJson(filter)));
addExpectedKey("filter_id");
}