mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Allow topic deletion.
This commit is contained in:
@@ -769,7 +769,7 @@ void Application::forceLogOut(
|
||||
}));
|
||||
box->setCloseByEscape(false);
|
||||
box->setCloseByOutsideClick(false);
|
||||
const auto weak = base::make_weak(account.get());
|
||||
const auto weak = base::make_weak(account);
|
||||
connect(box, &QObject::destroyed, [=] {
|
||||
crl::on_main(weak, [=] {
|
||||
account->forcedLogOut();
|
||||
|
Reference in New Issue
Block a user