mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
fixed bug that would reset service permission flags when discovery is enabled and discovery info is received
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
80bf2f7a39
commit
ee54247cc2
@ -564,6 +564,7 @@ bool p3PeerMgrIMPL::addFriend(const std::string& input_id, const std::string& in
|
||||
mLinkMgr->addFriend(id, !(visState & RS_VIS_STATE_NODHT));
|
||||
}
|
||||
|
||||
service_flags &= servicePermissionFlags(gpg_id) ; // Always reduce the permissions.
|
||||
setServicePermissionFlags(gpg_id,service_flags) ;
|
||||
|
||||
#ifdef PEER_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user