mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
bugfix: incorrect erase element
This commit is contained in:
committed by
John Preston
parent
d2291f5b17
commit
ea854e5be3
@@ -2007,9 +2007,10 @@ void SessionPrivate::requestsAcked(const QVector<MTPlong> &ids, bool byResponse)
|
||||
} else {
|
||||
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);
|
||||
|
||||
toSend.erase(j);
|
||||
continue;
|
||||
}
|
||||
DEBUG_LOG(("Message Info: msgId %1 was not found in recent resent either").arg(msgId));
|
||||
|
||||
Reference in New Issue
Block a user