Commit b0fbde11 authored by Ming Rui Zhang's avatar Ming Rui Zhang

misc: change allowIncoming key to DHT.PublicInCalls

Change-Id: If9502db49586fa10e220eac49ab7a21724c356c9
parent 45bb290f
......@@ -108,7 +108,7 @@ AdvancedSettingsWidget::updateAdvancedSettings()
{
auto config = LRCInstance::getCurrAccConfig();
//Call Settings
ui->checkBoxUntrusted->setChecked(config.allowIncoming);
ui->checkBoxUntrusted->setChecked(config.DHT.PublicInCalls);
ui->checkBoxAutoAnswer->setChecked(config.autoAnswer);
ui->checkBoxCustomRingtone->setChecked(config.Ringtone.ringtoneEnabled);
......@@ -154,7 +154,7 @@ void
AdvancedSettingsWidget::setCallsUntrusted(bool state)
{
auto confProps = LRCInstance::accountModel().getAccountConfig(LRCInstance::getCurrAccId());
confProps.allowIncoming = state;
confProps.DHT.PublicInCalls = state;
LRCInstance::accountModel().setAccountConfig(LRCInstance::getCurrAccId(), confProps);
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment