mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Merge pull request #950 from PhenomRetroShare/Add_ChatServerFlag
Add flag for ChatServer
This commit is contained in:
commit
71810e8daa
@ -999,7 +999,11 @@ bool p3PeerMgrIMPL::addFriend(const RsPeerId& input_id, const RsPgpId& input_gpg
|
||||
}
|
||||
|
||||
service_flags &= servicePermissionFlags(gpg_id) ; // Always reduce the permissions.
|
||||
#ifdef RS_CHATSERVER //Defined by chatserver
|
||||
setServicePermissionFlags(gpg_id,RS_NODE_PERM_NONE) ;
|
||||
#else
|
||||
setServicePermissionFlags(gpg_id,service_flags) ;
|
||||
#endif
|
||||
|
||||
#ifdef PEER_DEBUG
|
||||
printPeerLists(std::cerr);
|
||||
|
@ -219,3 +219,7 @@ rs_gxs_trans {
|
||||
rs_async_chat {
|
||||
DEFINES *= RS_ASYNC_CHAT
|
||||
}
|
||||
|
||||
rs_chatserver {
|
||||
DEFINES *= RS_CHATSERVER
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user