mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-16 02:19:34 -04:00
added hability to disconnect friends which report our own IP as something different than what we know. Removed a test in discovery2 that prevented sending info to a peer about himself. Not active yet since it needs some testing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8340 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ab62eaee32
commit
96cccbbc75
11 changed files with 129 additions and 16 deletions
|
@ -264,6 +264,8 @@ void tick();
|
|||
/* THIS COULD BE ADDED TO INTERFACE */
|
||||
void setFriendVisibility(const RsPeerId &id, bool isVisible);
|
||||
|
||||
void disconnectFriend(const RsPeerId& id) ;
|
||||
|
||||
/* add/remove friends */
|
||||
virtual int addFriend(const RsPeerId &ssl_id, bool isVisible);
|
||||
int removeFriend(const RsPeerId &ssl_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue