mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Refactored variables for edit media in HistoryItem.
- Replaced _isLocalUpdateMedia with client flag. - Removed _isEditingMedia.
This commit is contained in:
@@ -4676,6 +4676,7 @@ void ApiWrap::editUploadedFile(
|
||||
item->clearSavedMedia();
|
||||
item->setIsLocalUpdateMedia(true);
|
||||
applyUpdates(result);
|
||||
item->setIsLocalUpdateMedia(false);
|
||||
}).fail([=](const RPCError &error) {
|
||||
QString err = error.type();
|
||||
if (err == qstr("MESSAGE_NOT_MODIFIED")) {
|
||||
|
Reference in New Issue
Block a user