Skip to content
Snippets Groups Projects
Commit d94ac868 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix double percent encoding of invites

parent a5d5ea18
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment