diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-24 16:18:48 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-24 16:19:11 +0200 |
commit | d94ac86816f9f325cba11f71344a3ca99591130d (patch) | |
tree | ea9d82f6faabd5bbd840338ac88340704bd5e38d /src/ChatPage.cpp | |
parent | Fix URL in appdata.xml (diff) | |
download | nheko-d94ac86816f9f325cba11f71344a3ca99591130d.tar.xz |
Fix double percent encoding of invites
Diffstat (limited to '')
-rw-r--r-- | src/ChatPage.cpp | 3 |
1 files changed, 1 insertions, 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) { |