summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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")