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 = [&] {
|
const auto recoverable = [&] {
|
||||||
return (type == u"PASSWORD_MISSING"_q)
|
return (type == u"PASSWORD_MISSING"_q)
|
||||||
|| (type == u"PASSWORD_TOO_FRESH_XXX"_q)
|
|| type.startsWith(u"PASSWORD_TOO_FRESH_"_q)
|
||||||
|| (type == u"SESSION_TOO_FRESH_XXX"_q);
|
|| type.startsWith(u"SESSION_TOO_FRESH_"_q);
|
||||||
}();
|
}();
|
||||||
const auto weak = Ui::MakeWeak(this);
|
const auto weak = Ui::MakeWeak(this);
|
||||||
getDelegate()->show(Ui::MakeInformBox(problem));
|
getDelegate()->show(Ui::MakeInformBox(problem));
|
||||||
|
|
Loading…
Reference in a new issue