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 {
|
bool SettingsModel::getAutoDownloadReceivedFiles() const {
|
||||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||||
return CoreModel::getInstance()->getCore()->getMaxSizeForAutoDownloadIncomingFiles() == 0;
|
return CoreModel::getInstance()->getCore()->getMaxSizeForAutoDownloadIncomingFiles() != -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingsModel::setAutoDownloadReceivedFiles(bool status) {
|
void SettingsModel::setAutoDownloadReceivedFiles(bool status) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue