mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix sending an album after cancel of one media.
This commit is contained in:
parent
eb00641dfa
commit
2f3540dadc
1 changed files with 1 additions and 1 deletions
|
@ -3870,7 +3870,7 @@ void ApiWrap::sendAlbumWithCancelled(
|
||||||
const MessageGroupId &groupId) {
|
const MessageGroupId &groupId) {
|
||||||
const auto localId = item->fullId();
|
const auto localId = item->fullId();
|
||||||
const auto albumIt = _sendingAlbums.find(groupId.raw());
|
const auto albumIt = _sendingAlbums.find(groupId.raw());
|
||||||
if (albumIt != _sendingAlbums.end()) {
|
if (albumIt == _sendingAlbums.end()) {
|
||||||
// Sometimes we destroy item being sent already after the album
|
// Sometimes we destroy item being sent already after the album
|
||||||
// was sent successfully. For example the message could be loaded
|
// was sent successfully. For example the message could be loaded
|
||||||
// from server (by messages.getHistory or updateNewMessage) and
|
// from server (by messages.getHistory or updateNewMessage) and
|
||||||
|
|
Loading…
Add table
Reference in a new issue