diff options
Diffstat (limited to 'jobs/generated/directory.cpp')
-rw-r--r-- | jobs/generated/directory.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/jobs/generated/directory.cpp b/jobs/generated/directory.cpp index 4e61ed74..9428dcee 100644 --- a/jobs/generated/directory.cpp +++ b/jobs/generated/directory.cpp @@ -29,6 +29,12 @@ class GetRoomIdByAliasJob::Private QVector<QString> servers; }; +QUrl GetRoomIdByAliasJob::makeRequestUrl(QUrl baseUrl, const QString& roomAlias) +{ + return BaseJob::makeRequestUrl(baseUrl, + basePath % "/room/" % roomAlias); +} + GetRoomIdByAliasJob::GetRoomIdByAliasJob(const QString& roomAlias) : BaseJob(HttpVerb::Get, "GetRoomIdByAliasJob", basePath % "/room/" % roomAlias, false) @@ -56,6 +62,12 @@ BaseJob::Status GetRoomIdByAliasJob::parseJson(const QJsonDocument& data) return Success; } +QUrl DeleteRoomAliasJob::makeRequestUrl(QUrl baseUrl, const QString& roomAlias) +{ + return BaseJob::makeRequestUrl(baseUrl, + basePath % "/room/" % roomAlias); +} + DeleteRoomAliasJob::DeleteRoomAliasJob(const QString& roomAlias) : BaseJob(HttpVerb::Delete, "DeleteRoomAliasJob", basePath % "/room/" % roomAlias) |