mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Correctly cancel username check request.
This commit is contained in:
parent
7733e3350d
commit
d2e1517e7a
1 changed files with 1 additions and 1 deletions
|
@ -1164,7 +1164,7 @@ void SetupChannelBox::handleChange() {
|
|||
|
||||
void SetupChannelBox::check() {
|
||||
if (_checkRequestId) {
|
||||
_channel->session().api().request(_checkRequestId).cancel();
|
||||
_api.request(_checkRequestId).cancel();
|
||||
}
|
||||
const auto link = _link->text().trimmed();
|
||||
if (link.size() >= Ui::EditPeer::kMinUsernameLength) {
|
||||
|
|
Loading…
Add table
Reference in a new issue