diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-07 22:12:46 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-07 22:25:17 +0200 |
commit | bd649c591fa020fde0bd56a63c13025097b831ae (patch) | |
tree | 3a5e7cd11d3be9b626f77e83c2fc026c6a76952a /lib/csapi/profile.cpp | |
parent | 08d5cef8bbbef65c961370d4a9e2c48a6d7281f1 (diff) | |
download | libquotient-bd649c591fa020fde0bd56a63c13025097b831ae.tar.gz libquotient-bd649c591fa020fde0bd56a63c13025097b831ae.zip |
Update generated files
This uses API definition files from
https://github.com/matrix-org/matrix-doc/pull/3236, and additionally
makes uploadFile>content_uri to have 'format: uri' (as suggested in
the PR review). Only use this commit with the next one; alone it breaks
the build.
Diffstat (limited to 'lib/csapi/profile.cpp')
-rw-r--r-- | lib/csapi/profile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/profile.cpp b/lib/csapi/profile.cpp index 8436b8e6..745fa488 100644 --- a/lib/csapi/profile.cpp +++ b/lib/csapi/profile.cpp @@ -33,7 +33,7 @@ GetDisplayNameJob::GetDisplayNameJob(const QString& userId) false) {} -SetAvatarUrlJob::SetAvatarUrlJob(const QString& userId, const QString& avatarUrl) +SetAvatarUrlJob::SetAvatarUrlJob(const QString& userId, const QUrl& avatarUrl) : BaseJob(HttpVerb::Put, QStringLiteral("SetAvatarUrlJob"), QStringLiteral("/_matrix/client/r0") % "/profile/" % userId % "/avatar_url") |