mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Pair the uploaded media edit's shared media removal
Task: 2026/08/19/pair-media-edit-removal-with-index-add
This commit is contained in:
@@ -411,6 +411,7 @@ void EditMessageWithUploadedMedia(
|
||||
if (item) {
|
||||
item->removeFromSharedMediaIndex();
|
||||
item->clearSavedMedia();
|
||||
item->addToSharedMediaIndex();
|
||||
item->setIsLocalUpdateMedia(true);
|
||||
applyUpdates();
|
||||
item->setIsLocalUpdateMedia(false);
|
||||
|
||||
Reference in New Issue
Block a user