Skip to content

Commit

Permalink
Remove toPercentEncoding() where no more needed
Browse files Browse the repository at this point in the history
Since 0.7 libQuotient percent-encodes values destined for the request
path.
  • Loading branch information
KitsuneRal committed Oct 22, 2023
1 parent 62be36f commit e7a05f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7a05f6

Please sign in to comment.