mirror of https://github.com/procxx/kepka.git
Add transfer ownership description box.
This commit is contained in:
parent
7f96a185cf
commit
6a1abe8767
|
@ -429,7 +429,16 @@ void EditAdminBox::transferOwnership() {
|
||||||
)).fail([=](const RPCError &error) {
|
)).fail([=](const RPCError &error) {
|
||||||
_checkTransferRequestId = 0;
|
_checkTransferRequestId = 0;
|
||||||
if (!handleTransferPasswordError(error)) {
|
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();
|
}).send();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue