diff options
Diffstat (limited to 'lib/csapi/appservice_room_directory.cpp')
-rw-r--r-- | lib/csapi/appservice_room_directory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csapi/appservice_room_directory.cpp b/lib/csapi/appservice_room_directory.cpp index c989559f..dff7e032 100644 --- a/lib/csapi/appservice_room_directory.cpp +++ b/lib/csapi/appservice_room_directory.cpp @@ -15,7 +15,7 @@ UpdateAppserviceRoomDirectoryVisibilityJob:: makePath("/_matrix/client/v3", "/directory/list/appservice/", networkId, "/", roomId)) { - QJsonObject _data; - addParam<>(_data, QStringLiteral("visibility"), visibility); - setRequestData(std::move(_data)); + QJsonObject _dataJson; + addParam<>(_dataJson, QStringLiteral("visibility"), visibility); + setRequestData({ _dataJson }); } |