mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-08 19:08:46 -05:00
Add flag for ChatServer
append the following assignation to qmake command line "CONFIG +=rs_chatserver"
This commit is contained in:
parent
e56340e0a1
commit
3a6bcf5ef8
@ -999,7 +999,11 @@ bool p3PeerMgrIMPL::addFriend(const RsPeerId& input_id, const RsPgpId& input_gpg
|
|||||||
}
|
}
|
||||||
|
|
||||||
service_flags &= servicePermissionFlags(gpg_id) ; // Always reduce the permissions.
|
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) ;
|
setServicePermissionFlags(gpg_id,service_flags) ;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef PEER_DEBUG
|
#ifdef PEER_DEBUG
|
||||||
printPeerLists(std::cerr);
|
printPeerLists(std::cerr);
|
||||||
|
@ -219,3 +219,7 @@ rs_gxs_trans {
|
|||||||
rs_async_chat {
|
rs_async_chat {
|
||||||
DEFINES *= RS_ASYNC_CHAT
|
DEFINES *= RS_ASYNC_CHAT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rs_chatserver {
|
||||||
|
DEFINES *= RS_CHATSERVER
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user