mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Fix sending image from clipboard as file.
This commit is contained in:
@@ -797,7 +797,9 @@ bool DocumentData::saveToCache() const {
|
||||
|| isAnimation()
|
||||
|| isVoiceMessage()
|
||||
|| (type == WallPaperDocument)
|
||||
|| isTheme());
|
||||
|| isTheme()
|
||||
|| (mimeString() == qstr("image/png")
|
||||
&& _filename.startsWith("image_")));
|
||||
}
|
||||
|
||||
void DocumentData::automaticLoadSettingsChanged() {
|
||||
|
Reference in New Issue
Block a user