mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18: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(
|
http::client()->leave_room(
|
||||||
room_id.toStdString(),
|
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) {
|
if (err) {
|
||||||
emit showNotification(
|
emit showNotification(
|
||||||
tr("Failed to leave room: %1")
|
tr("Failed to leave room: %1")
|
||||||
|
|
Loading…
Reference in a new issue