mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed incorrect handling of error from channel ownership request.
This commit is contained in:
parent
0b22e5928c
commit
24c1151101
1 changed files with 2 additions and 2 deletions
|
@ -668,8 +668,8 @@ void EditAdminBox::sendTransferRequestFrom(
|
|||
}();
|
||||
const auto recoverable = [&] {
|
||||
return (type == u"PASSWORD_MISSING"_q)
|
||||
|| (type == u"PASSWORD_TOO_FRESH_XXX"_q)
|
||||
|| (type == u"SESSION_TOO_FRESH_XXX"_q);
|
||||
|| type.startsWith(u"PASSWORD_TOO_FRESH_"_q)
|
||||
|| type.startsWith(u"SESSION_TOO_FRESH_"_q);
|
||||
}();
|
||||
const auto weak = Ui::MakeWeak(this);
|
||||
getDelegate()->show(Ui::MakeInformBox(problem));
|
||||
|
|
Loading…
Add table
Reference in a new issue