mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Unregister randomId if send message fails.
This commit is contained in:
@@ -403,6 +403,7 @@ void SendingAlbum::fillMedia(
|
||||
const auto i = FindAlbumItem(items, item);
|
||||
Assert(!i->media);
|
||||
|
||||
i->randomId = randomId;
|
||||
i->media = PrepareAlbumItemMedia(item, media, randomId);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user