mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 14:18:09 +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
06b4a211a0
commit
c84103a0c2
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