mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 01:25:17 -04:00
extended group share keys to Posted
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7608 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
adbfa89c7b
commit
6e2df7e0de
11 changed files with 54 additions and 31 deletions
|
@ -99,6 +99,8 @@ virtual bool createGroup(uint32_t &token, RsPostedGroup &group) = 0;
|
|||
virtual bool createPost(uint32_t &token, RsPostedPost &post) = 0;
|
||||
|
||||
virtual bool updateGroup(uint32_t &token, RsPostedGroup &group) = 0;
|
||||
|
||||
virtual bool groupShareKeys(const RsGxsGroupId& group,const std::list<RsPeerId>& peers) = 0 ;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -62,7 +62,11 @@ RsServiceInfo p3Posted::getServiceInfo()
|
|||
GXS_POSTED_MIN_MINOR_VERSION);
|
||||
}
|
||||
|
||||
|
||||
bool p3Posted::groupShareKeys(const RsGxsGroupId& groupId,const std::list<RsPeerId>& peers)
|
||||
{
|
||||
RsGenExchange::shareGroupPublishKey(groupId,peers) ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
bool p3Posted::getGroupData(const uint32_t &token, std::vector<RsPostedGroup> &groups)
|
||||
{
|
||||
|
|
|
@ -70,6 +70,7 @@ virtual bool createGroup(uint32_t &token, RsPostedGroup &group);
|
|||
virtual bool createPost(uint32_t &token, RsPostedPost &post);
|
||||
|
||||
virtual bool updateGroup(uint32_t &token, RsPostedGroup &group);
|
||||
virtual bool groupShareKeys(const RsGxsGroupId &group, const std::list<RsPeerId>& peers);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// WRAPPERS due to the separate Interface.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue