mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
forward-by-drag-n-drop done for images, documents, stickers and messages-by-date
This commit is contained in:
@@ -2780,7 +2780,7 @@ namespace Local {
|
||||
if (!QDir(di.filePath()).removeRecursively()) result = false;
|
||||
} else {
|
||||
QString path = di.filePath();
|
||||
if (!path.endsWith(QLatin1String("map0")) && !path.endsWith(QLatin1String("map1"))) {
|
||||
if (!path.endsWith(qstr("map0")) && !path.endsWith(qstr("map1"))) {
|
||||
if (!QFile::remove(di.filePath())) result = false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user