mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix sending of saved GIFs.
This commit is contained in:
@@ -850,7 +850,7 @@ void DocumentData::save(
|
||||
setLocation(FileLocation(toFile));
|
||||
Local::writeFileLocation(mediaKey(), FileLocation(toFile));
|
||||
} else if (l.accessEnable()) {
|
||||
auto alreadyName = l.name();
|
||||
const auto &alreadyName = l.name();
|
||||
if (alreadyName != toFile) {
|
||||
QFile(toFile).remove();
|
||||
QFile(alreadyName).copy(toFile);
|
||||
|
Reference in New Issue
Block a user