mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
bugfix: incorrect erase element
This commit is contained in:
parent
d2291f5b17
commit
ea854e5be3
1 changed files with 3 additions and 2 deletions
|
@ -2007,9 +2007,10 @@ void SessionPrivate::requestsAcked(const QVector<MTPlong> &ids, bool byResponse)
|
||||||
} else {
|
} else {
|
||||||
DEBUG_LOG(("Message Info: acked msgId %1 that was prepared to resend, requestId %2").arg(msgId).arg(requestId));
|
DEBUG_LOG(("Message Info: acked msgId %1 that was prepared to resend, requestId %2").arg(msgId).arg(requestId));
|
||||||
}
|
}
|
||||||
toSend.erase(j);
|
|
||||||
|
|
||||||
_ackedIds.emplace(msgId, j->second->requestId);
|
_ackedIds.emplace(msgId, j->second->requestId);
|
||||||
|
|
||||||
|
toSend.erase(j);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
DEBUG_LOG(("Message Info: msgId %1 was not found in recent resent either").arg(msgId));
|
DEBUG_LOG(("Message Info: msgId %1 was not found in recent resent either").arg(msgId));
|
||||||
|
|
Loading…
Add table
Reference in a new issue