mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Added initial local reference for edited media.
This commit is contained in:
@@ -4639,6 +4639,7 @@ void ApiWrap::editUploadedPhoto(
|
||||
sentEntities
|
||||
)).done([=](const MTPUpdates &result) {
|
||||
item->clearSavedMedia();
|
||||
item->setIsLocalUpdateMedia(true);
|
||||
applyUpdates(result);
|
||||
}).fail([=](const RPCError &error) {
|
||||
QString err = error.type();
|
||||
@@ -4702,6 +4703,7 @@ void ApiWrap::editUploadedDocument(
|
||||
sentEntities
|
||||
)).done([=](const MTPUpdates &result) {
|
||||
item->clearSavedMedia();
|
||||
item->setIsLocalUpdateMedia(true);
|
||||
applyUpdates(result);
|
||||
}).fail([=](const RPCError &error) {
|
||||
QString err = error.type();
|
||||
|
Reference in New Issue
Block a user