mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fixed incorrect handling of error from channel ownership request.
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user