mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed closing of transfer ownership box.
This commit is contained in:
@@ -624,8 +624,10 @@ void EditAdminBox::sendTransferRequestFrom(
|
||||
tr::now,
|
||||
lt_user,
|
||||
user->shortName()));
|
||||
if (weak) {
|
||||
_show.hideLayer();
|
||||
if (box) {
|
||||
Ui::BoxShow(box).hideLayer();
|
||||
} else if (weak) {
|
||||
weak->_show.hideLayer();
|
||||
}
|
||||
}).fail(crl::guard(this, [=](const MTP::Error &error) {
|
||||
if (weak) {
|
||||
|
||||
Reference in New Issue
Block a user