mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 10:32:22 -04:00
added backend for distant message and distant chat filtering based on contact list
This commit is contained in:
parent
f5c2aa31e3
commit
140205108a
20 changed files with 373 additions and 180 deletions
|
@ -537,4 +537,12 @@ bool p3Msgs::closeDistantChatConnexion(const DistantChatPeerId &pid)
|
|||
{
|
||||
return mChatSrv->closeDistantChatConnexion(pid) ;
|
||||
}
|
||||
bool p3Msgs::setDistantChatPermissionFlags(uint32_t flags)
|
||||
{
|
||||
return mChatSrv->setDistantChatPermissionFlags(flags) ;
|
||||
}
|
||||
uint32_t p3Msgs::getDistantChatPermissionFlags()
|
||||
{
|
||||
return mChatSrv->getDistantChatPermissionFlags() ;
|
||||
}
|
||||
|
||||
|
|
|
@ -159,6 +159,9 @@ class p3Msgs: public RsMsgs
|
|||
virtual bool getDistantChatStatus(const DistantChatPeerId& gxs_id,DistantChatPeerInfo& info);
|
||||
virtual bool closeDistantChatConnexion(const DistantChatPeerId &pid) ;
|
||||
|
||||
virtual uint32_t getDistantChatPermissionFlags() ;
|
||||
virtual bool setDistantChatPermissionFlags(uint32_t flags) ;
|
||||
|
||||
private:
|
||||
|
||||
p3MsgService *mMsgSrv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue