mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
No roomid on leave
This commit is contained in:
parent
12fff7408e
commit
e939a6b396
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue