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