summary refs log tree commit diff
path: root/src/ChatPage.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-04-24 16:18:48 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-04-24 16:19:11 +0200
commitd94ac86816f9f325cba11f71344a3ca99591130d (patch)
treeea9d82f6faabd5bbd840338ac88340704bd5e38d /src/ChatPage.cpp
parentFix URL in appdata.xml (diff)
downloadnheko-d94ac86816f9f325cba11f71344a3ca99591130d.tar.xz
Fix double percent encoding of invites
Diffstat (limited to '')
-rw-r--r--src/ChatPage.cpp3
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) {