- Added update of changed posts to GxsChannelPostsWidget

- Added auto update to GxsFeedItem

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-05-06 20:19:04 +00:00
parent 2b36cefca2
commit 0abc2342fe
14 changed files with 99 additions and 42 deletions

View file

@ -318,12 +318,12 @@ void GxsForumThreadWidget::updateDisplay(bool complete)
return;
}
std::list<RsGxsGroupId> &grpIds = getGrpIds();
const std::list<RsGxsGroupId> &grpIds = getGrpIds();
if (std::find(grpIds.begin(), grpIds.end(), mForumId) != grpIds.end()) {
/* Update threads */
insertThreads();
} else {
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > &msgIds = getMsgIds();
const std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > &msgIds = getMsgIds();
if (msgIds.find(mForumId) != msgIds.end()) {
/* Update threads */
insertThreads();