mirror of https://github.com/procxx/kepka.git
Add transfer ownership description box.
This commit is contained in:
parent
7f96a185cf
commit
6a1abe8767
Telegram/SourceFiles/boxes/peers
|
@ -429,7 +429,16 @@ void EditAdminBox::transferOwnership() {
|
|||
)).fail([=](const RPCError &error) {
|
||||
_checkTransferRequestId = 0;
|
||||
if (!handleTransferPasswordError(error)) {
|
||||
transferOwnershipChecked();
|
||||
getDelegate()->show(Box<ConfirmBox>(
|
||||
tr::lng_rights_transfer_about(
|
||||
tr::now,
|
||||
lt_group,
|
||||
Ui::Text::Bold(peer()->name),
|
||||
lt_user,
|
||||
Ui::Text::Bold(user()->shortName()),
|
||||
Ui::Text::RichLangValue),
|
||||
lang(lng_rights_transfer_sure),
|
||||
crl::guard(this, [=] { transferOwnershipChecked(); })));
|
||||
}
|
||||
}).send();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue