aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/wellknown.cpp
blob: 1aa0a90b3914dbc37850f9684bd20bf375152392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/******************************************************************************
 * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
 */

#include "wellknown.h"

#include <QtCore/QStringBuilder>

using namespace Quotient;

QUrl GetWellknownJob::makeRequestUrl(QUrl baseUrl)
{
    return BaseJob::makeRequestUrl(std::move(baseUrl),
                                   QStringLiteral("/.well-known")
                                       % "/matrix/client");
}

GetWellknownJob::GetWellknownJob()
    : BaseJob(HttpVerb::Get, QStringLiteral("GetWellknownJob"),
              QStringLiteral("/.well-known") % "/matrix/client", false)
{}