mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed closing of transfer ownership box.
This commit is contained in:
parent
e20aa0c524
commit
4754a513aa
1 changed files with 4 additions and 2 deletions
|
@ -624,8 +624,10 @@ void EditAdminBox::sendTransferRequestFrom(
|
||||||
tr::now,
|
tr::now,
|
||||||
lt_user,
|
lt_user,
|
||||||
user->shortName()));
|
user->shortName()));
|
||||||
if (weak) {
|
if (box) {
|
||||||
_show.hideLayer();
|
Ui::BoxShow(box).hideLayer();
|
||||||
|
} else if (weak) {
|
||||||
|
weak->_show.hideLayer();
|
||||||
}
|
}
|
||||||
}).fail(crl::guard(this, [=](const MTP::Error &error) {
|
}).fail(crl::guard(this, [=](const MTP::Error &error) {
|
||||||
if (weak) {
|
if (weak) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue