From d94ac86816f9f325cba11f71344a3ca99591130d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 24 Apr 2020 16:18:48 +0200 Subject: [PATCH] Fix double percent encoding of invites --- src/ChatPage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index c9afeb75..61050c35 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -1015,8 +1015,7 @@ ChatPage::trySync() void ChatPage::joinRoom(const QString &room) { - // Percent escape the room ID - const auto room_id = QUrl::toPercentEncoding(room).toStdString(); + const auto room_id = room.toStdString(); http::client()->join_room( room_id, [this, room_id](const nlohmann::json &, mtx::http::RequestErr err) {