mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-27 19:10:41 -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
1 changed files with 1 additions and 0 deletions
|
|
@ -564,6 +564,7 @@ bool p3PeerMgrIMPL::addFriend(const std::string& input_id, const std::string& in
|
||||||
mLinkMgr->addFriend(id, !(visState & RS_VIS_STATE_NODHT));
|
mLinkMgr->addFriend(id, !(visState & RS_VIS_STATE_NODHT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
service_flags &= servicePermissionFlags(gpg_id) ; // Always reduce the permissions.
|
||||||
setServicePermissionFlags(gpg_id,service_flags) ;
|
setServicePermissionFlags(gpg_id,service_flags) ;
|
||||||
|
|
||||||
#ifdef PEER_DEBUG
|
#ifdef PEER_DEBUG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue