diff --git a/src/pqi/authgpg.cc b/src/pqi/authgpg.cc index ee5324d73..eebab962c 100644 --- a/src/pqi/authgpg.cc +++ b/src/pqi/authgpg.cc @@ -616,7 +616,7 @@ bool AuthPGP::AllowConnection(const RsPgpId& gpg_id, bool accept) instance()->mPgpHandler->setAcceptConnexion(gpg_id,accept) ; } - instance()->IndicateConfigChanged(); + instance()->IndicateConfigChanged(RsConfigMgr::CheckPriority::SAVE_NOW); RsServer::notify()->notifyListChange(NOTIFY_LIST_FRIENDS, accept ? NOTIFY_TYPE_ADD : NOTIFY_TYPE_DEL); diff --git a/src/pqi/p3peermgr.cc b/src/pqi/p3peermgr.cc index e150eae48..1933683f0 100644 --- a/src/pqi/p3peermgr.cc +++ b/src/pqi/p3peermgr.cc @@ -2101,6 +2101,7 @@ bool p3PeerMgrIMPL::setLocation(const RsPeerId &id, const std::string &locati mOwnState.location = location; changed = true; } + IndicateConfigChanged(RsConfigMgr::CheckPriority::SAVE_LESS); /**** INDICATE MSG CONFIG CHANGED! *****/ return changed; } @@ -2112,6 +2113,7 @@ bool p3PeerMgrIMPL::setLocation(const RsPeerId &id, const std::string &locati changed = true; } } + IndicateConfigChanged(RsConfigMgr::CheckPriority::SAVE_LESS); /**** INDICATE MSG CONFIG CHANGED! *****/ return changed; }