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 c1683338..9fe702aa 100644
--- a/lib/csapi/third_party_membership.cpp
+++ b/lib/csapi/third_party_membership.cpp
@@ -14,9 +14,10 @@ static const auto basePath = QStringLiteral("/_matrix/client/r0");
static const auto InviteBy3PIDJobName = QStringLiteral("InviteBy3PIDJob");
-InviteBy3PIDJob::InviteBy3PIDJob(const QString& roomId, const QString& idServer, const QString& medium, const QString& address)
+InviteBy3PIDJob::InviteBy3PIDJob(const QString& roomId, const QString& idServer,
+ const QString& medium, const QString& address)
: BaseJob(HttpVerb::Post, InviteBy3PIDJobName,
- basePath % "/rooms/" % roomId % "/invite")
+ basePath % "/rooms/" % roomId % "/invite")
{
QJsonObject _data;
addParam<>(_data, QStringLiteral("id_server"), idServer);
@@ -24,4 +25,3 @@ InviteBy3PIDJob::InviteBy3PIDJob(const QString& roomId, const QString& idServer,
addParam<>(_data, QStringLiteral("address"), address);
setRequestData(_data);
}
-