mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
fixed connexion between posted items and async API, and removed dead code and debug info
This commit is contained in:
parent
d3bd237cde
commit
5645d71699
13 changed files with 29 additions and 275 deletions
|
@ -172,10 +172,7 @@ void PostedCardView::loadGroup()
|
|||
std::vector<RsPostedGroup> groups;
|
||||
const std::list<RsGxsGroupId> groupIds = { groupId() };
|
||||
|
||||
#warning Code needed in rsPosted
|
||||
#ifdef TODO
|
||||
if(!rsPosted->getPostedGroupInfo(groupIds,groups))
|
||||
#endif
|
||||
if(!rsPosted->getBoardsInfo(groupIds,groups))
|
||||
{
|
||||
RsErr() << "GxsPostedGroupItem::loadGroup() ERROR getting data" << std::endl;
|
||||
return;
|
||||
|
@ -210,10 +207,7 @@ void PostedCardView::loadMessage()
|
|||
std::vector<RsPostedPost> posts;
|
||||
std::vector<RsGxsComment> comments;
|
||||
|
||||
#warning Code needed in rsPosted
|
||||
#ifdef TODO
|
||||
if(! rsPosted->getPostedContent( groupId(), std::set<RsGxsMessageId>( { messageId() } ),posts,comments))
|
||||
#endif
|
||||
if(! rsPosted->getBoardContent( groupId(), std::set<RsGxsMessageId>( { messageId() } ),posts,comments))
|
||||
{
|
||||
RsErr() << "PostedItem::loadMessage() ERROR getting data" << std::endl;
|
||||
return;
|
||||
|
@ -265,10 +259,7 @@ void PostedCardView::loadComment()
|
|||
std::vector<RsPostedPost> posts;
|
||||
std::vector<RsGxsComment> comments;
|
||||
|
||||
#warning Code needed in rsPosted
|
||||
#ifdef TODO
|
||||
if(! rsPosted->getPostedContent( groupId(),msgIds,posts,comments))
|
||||
#endif
|
||||
if(! rsPosted->getBoardContent( groupId(),msgIds,posts,comments))
|
||||
{
|
||||
RsErr() << "PostedCardView::loadGroup() ERROR getting data" << std::endl;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue