mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 19:26:31 -04:00
Implementation of GxsId Opinion, and start of Reputation system.
- Removed old reputation system from p3idservice - Removed old Msg types as well (no longer needed) - Added real submitOpinion() - Modified serviceString to support Reputation System. - Added reputation information to both Cached Data, and Standard ID Data. - Added basics of new reputation system as alternative service. (not gxs). - Added Generic TLV types for maps. - Moved configuration files to their own directory .rs/config/ - Finally, fixed up bits missed from the change to updateGroup! git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9a4c696688
commit
1b2ed66814
33 changed files with 2046 additions and 916 deletions
|
@ -219,19 +219,15 @@ bool p3Posted::createGroup(uint32_t &token, RsPostedGroup &group)
|
|||
}
|
||||
|
||||
|
||||
bool p3Posted::updateGroup(uint32_t &token, RsGxsGroupUpdateMeta& meta, RsPostedGroup &group)
|
||||
bool p3Posted::updateGroup(uint32_t &token, RsPostedGroup &group)
|
||||
{
|
||||
std::cerr << "p3Posted::updateGroup()" << std::endl;
|
||||
|
||||
if(meta.getGroupId().empty())
|
||||
return false;
|
||||
|
||||
RsGxsPostedGroupItem* grpItem = new RsGxsPostedGroupItem();
|
||||
grpItem->mGroup = group;
|
||||
grpItem->meta = group.mMeta;
|
||||
grpItem->meta.mGroupId = meta.getGroupId();
|
||||
|
||||
RsGenExchange::updateGroup(token, meta, grpItem);
|
||||
RsGenExchange::updateGroup(token, grpItem);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue