aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/third_party_membership.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/third_party_membership.cpp')
-rw-r--r--lib/csapi/third_party_membership.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csapi/third_party_membership.cpp b/lib/csapi/third_party_membership.cpp
index 4cdad48b..2372f9d7 100644
--- a/lib/csapi/third_party_membership.cpp
+++ b/lib/csapi/third_party_membership.cpp
@@ -17,9 +17,9 @@ InviteBy3PIDJob::InviteBy3PIDJob(const QString& roomId, const QString& idServer,
basePath % "/rooms/" % roomId % "/invite")
{
QJsonObject _data;
- addToJson<>(_data, "id_server", idServer);
- addToJson<>(_data, "medium", medium);
- addToJson<>(_data, "address", address);
+ addParam<>(_data, "id_server", idServer);
+ addParam<>(_data, "medium", medium);
+ addParam<>(_data, "address", address);
setRequestData(_data);
}