summary refs log tree commit diff
path: root/src/ChatPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChatPage.cpp')
-rw-r--r--src/ChatPage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp

index a60c09cb..aaaddf6d 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp
@@ -1098,7 +1098,8 @@ ChatPage::trySync() void ChatPage::joinRoom(const QString &room) { - const auto room_id = room.toStdString(); + // Percent escape the room ID + const auto room_id = QUrl::toPercentEncoding(room).toStdString(); http::client()->join_room( room_id, [this, room_id](const nlohmann::json &, mtx::http::RequestErr err) {