blob: 73f0298ed3462c7943518f32645f86b5d458c48d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#include "whoami.h"
#include <QtCore/QStringBuilder>
using namespace Quotient;
QUrl GetTokenOwnerJob::makeRequestUrl(QUrl baseUrl)
{
return BaseJob::makeRequestUrl(std::move(baseUrl),
QStringLiteral("/_matrix/client/r0")
% "/account/whoami");
}
GetTokenOwnerJob::GetTokenOwnerJob()
: BaseJob(HttpVerb::Get, QStringLiteral("GetTokenOwnerJob"),
QStringLiteral("/_matrix/client/r0") % "/account/whoami")
{
addExpectedKey("user_id");
}
|