No roomid on leave

This commit is contained in:
Nicolas Werner 2020-10-27 22:03:33 +01:00
parent 12fff7408e
commit e939a6b396
1 changed files with 1 additions and 1 deletions

View File

@ -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")