mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Requesting getDifference if some users or channels are not loaded
while processing updateNewChannelMessage update.
This commit is contained in:
@@ -399,7 +399,7 @@ void ApiWrap::requestLastParticipants(ChannelData *peer, bool fromStart) {
|
||||
if ((needAdmins && adminsOutdated) || peer->lastParticipantsCountOutdated()) {
|
||||
fromStart = true;
|
||||
}
|
||||
QMap<PeerData*, mtpRequestId>::iterator i = _participantsRequests.find(peer);
|
||||
auto i = _participantsRequests.find(peer);
|
||||
if (i != _participantsRequests.cend()) {
|
||||
if (fromStart && i.value() < 0) { // was not loading from start
|
||||
_participantsRequests.erase(i);
|
||||
|
Reference in New Issue
Block a user