summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-10-27 22:03:33 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-10-27 22:03:33 +0100
commite939a6b396aafecf9cd17b79917637dcf8b6e5e9 (patch)
treed7843bdcf01bbfb235572e5b1bc2335afe67e90a /src
parentOptimize build (diff)
downloadnheko-e939a6b396aafecf9cd17b79917637dcf8b6e5e9.tar.xz
No roomid on leave
Diffstat (limited to 'src')
-rw-r--r--src/ChatPage.cpp2
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")