Mark files as being downloaded from the web on Windows

This commit is contained in:
Nicolas Werner 2024-09-09 23:15:45 +02:00
parent 3b41d20506
commit b37909a2c8
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
6 changed files with 25 additions and 3 deletions

View file

@ -369,6 +369,7 @@ TimelineViewManager::saveMedia(QString mxcUrl)
file.write(QByteArray(data.data(), (int)data.size()));
file.close();
utils::markFileAsFromWeb(filename);
return;
} catch (const std::exception &e) {