Merge pull request #112 from csoler/v0.6-BugFixing_32

Bug fixing
This commit is contained in:
csoler 2023-08-27 16:26:47 +02:00 committed by GitHub
commit 03d24e04a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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;
}