No roomid on leave
This commit is contained in:
parent
12fff7408e
commit
e939a6b396
@ -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 New Issue
Block a user