diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-10-04 18:40:48 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-10-04 18:40:48 +0200 |
commit | 1fd25fe944b67c55435ed4d4d8fd1cbb0989bb5f (patch) | |
tree | 88bde5f7a3f0ec2620694f925d0ec5ae2af97f2f /lib/csapi/room_state.cpp | |
parent | 96f31d7d8ed1c9ab905c24ac039079aea622f4dc (diff) | |
download | libquotient-1fd25fe944b67c55435ed4d4d8fd1cbb0989bb5f.tar.gz libquotient-1fd25fe944b67c55435ed4d4d8fd1cbb0989bb5f.zip |
Regenerate CS API files upon the previous commit
Diffstat (limited to 'lib/csapi/room_state.cpp')
-rw-r--r-- | lib/csapi/room_state.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/csapi/room_state.cpp b/lib/csapi/room_state.cpp index 37e897fa..f6d2e6ec 100644 --- a/lib/csapi/room_state.cpp +++ b/lib/csapi/room_state.cpp @@ -4,8 +4,6 @@ #include "room_state.h" -#include <QtCore/QStringBuilder> - using namespace Quotient; SetRoomStateWithKeyJob::SetRoomStateWithKeyJob(const QString& roomId, @@ -13,8 +11,8 @@ SetRoomStateWithKeyJob::SetRoomStateWithKeyJob(const QString& roomId, const QString& stateKey, const QJsonObject& body) : BaseJob(HttpVerb::Put, QStringLiteral("SetRoomStateWithKeyJob"), - QStringLiteral("/_matrix/client/r0") % "/rooms/" % roomId - % "/state/" % eventType % "/" % stateKey) + makePath("/_matrix/client/r0", "/rooms/", roomId, "/state/", + eventType, "/", stateKey)) { setRequestData(RequestData(toJson(body))); addExpectedKey("event_id"); |