From e7a05f6fab2f4a202458a97a302490e4215b5bb7 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Sun, 22 Oct 2023 20:36:58 +0200 Subject: [PATCH] Remove toPercentEncoding() where no more needed Since 0.7 libQuotient percent-encodes values destined for the request path. --- client/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/mainwindow.cpp b/client/mainwindow.cpp index af261fa8..20410e49 100644 --- a/client/mainwindow.cpp +++ b/client/mainwindow.cpp @@ -1016,8 +1016,7 @@ void MainWindow::joinRoom(Quotient::Connection* account, const QString& roomAliasOrId, const QStringList& viaServers) { - auto* job = - account->joinRoom(QUrl::toPercentEncoding(roomAliasOrId), viaServers); + auto* job = account->joinRoom(roomAliasOrId, viaServers); // Connection::joinRoom() already connected to success() the code that // initialises the room in the library, which in turn causes RoomListModel // to update the room list. So the below connection to success() will be