mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix double percent encoding of invites
This commit is contained in:
parent
a5d5ea1881
commit
d94ac86816
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue