Mark files as being downloaded from the web on Windows
This commit is contained in:
parent
3b41d20506
commit
b37909a2c8
6 changed files with 25 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue