mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
fix get auto download for compatibility with previous versions of linphonerc
This commit is contained in:
parent
3866d7ecdd
commit
a3996fc33c
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ void SettingsModel::setVideoEnabled(const bool enabled) {
|
|||
|
||||
bool SettingsModel::getAutoDownloadReceivedFiles() const {
|
||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||
return CoreModel::getInstance()->getCore()->getMaxSizeForAutoDownloadIncomingFiles() == 0;
|
||||
return CoreModel::getInstance()->getCore()->getMaxSizeForAutoDownloadIncomingFiles() != -1;
|
||||
}
|
||||
|
||||
void SettingsModel::setAutoDownloadReceivedFiles(bool status) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue