File: admin.cpp

package info (click to toggle)
libquotient 0.9.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,596 kB
  • sloc: xml: 39,103; cpp: 25,274; sh: 97; makefile: 9
file content (15 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN

#include "admin.h"

using namespace Quotient;

QUrl GetWhoIsJob::makeRequestUrl(const HomeserverData& hsData, const QString& userId)
{
    return BaseJob::makeRequestUrl(hsData, makePath("/_matrix/client/v3", "/admin/whois/", userId));
}

GetWhoIsJob::GetWhoIsJob(const QString& userId)
    : BaseJob(HttpVerb::Get, u"GetWhoIsJob"_s,
              makePath("/_matrix/client/v3", "/admin/whois/", userId))
{}