mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
Fix thumbnail shortcut to download and not to folder, if the message comes from group chat synchronization (aka file send from the same account on different device)
This commit is contained in:
parent
3aab79261e
commit
cf19039a22
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ void ContentModel::downloadFile(){
|
|||
}
|
||||
|
||||
void ContentModel::openFile (bool showDirectory) {
|
||||
if (!mWasDownloaded && !mChatMessageModel->isOutgoing()) {
|
||||
if ((!mWasDownloaded && !mChatMessageModel->isOutgoing()) || mContent->getFilePath() == "") {
|
||||
downloadFile();
|
||||
}else{
|
||||
QFileInfo info( Utils::coreStringToAppString(mContent->getFilePath()));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue