mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
File permission after auto downloading a file.
This commit is contained in:
parent
5d75326884
commit
e34beffe06
2 changed files with 12 additions and 2 deletions
|
|
@ -13,7 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Added
|
||||
- Screen Sharing
|
||||
|
||||
## 5.2.3 - Undefined
|
||||
## 5.2.4 - undefined
|
||||
|
||||
### Fixed
|
||||
- File permission after auto downloading a file.
|
||||
|
||||
## 5.2.3 - 2024-03-29
|
||||
|
||||
### Fixed
|
||||
- Call logs : incoming filter will not display missed calls.
|
||||
|
|
|
|||
|
|
@ -320,7 +320,12 @@ void ChatMessageModel::onFileTransferProgressIndication (const std::shared_ptr<l
|
|||
for(auto content : mContentListModel->getSharedList<ContentModel>())
|
||||
allAreDownloaded &= content->mWasDownloaded;
|
||||
setWasDownloaded(allAreDownloaded);
|
||||
App::getInstance()->getNotifier()->notifyReceivedFileMessage(message, content);
|
||||
QTimer::singleShot(60, App::getInstance(),
|
||||
[message, content]() { // on 100% downlaoded, the SDK still need to do stuff on file. It
|
||||
// still need permission on file. Let the application to use the
|
||||
// file after next iteration.
|
||||
App::getInstance()->getNotifier()->notifyReceivedFileMessage(message, content);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue