diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-27 22:03:33 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-27 22:03:33 +0100 |
commit | e939a6b396aafecf9cd17b79917637dcf8b6e5e9 (patch) | |
tree | d7843bdcf01bbfb235572e5b1bc2335afe67e90a /src | |
parent | Optimize build (diff) | |
download | nheko-e939a6b396aafecf9cd17b79917637dcf8b6e5e9.tar.xz |
No roomid on leave
Diffstat (limited to 'src')
-rw-r--r-- | src/ChatPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index 6e96234c..fb34f91a 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -1169,7 +1169,7 @@ ChatPage::leaveRoom(const QString &room_id) { http::client()->leave_room( room_id.toStdString(), - [this, room_id](const mtx::responses::RoomId &, mtx::http::RequestErr err) { + [this, room_id](const mtx::responses::Empty &, mtx::http::RequestErr err) { if (err) { emit showNotification( tr("Failed to leave room: %1") |