Optimized fill of forums

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7716 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-11-27 22:45:34 +00:00
parent 959c0ebf5b
commit 1fff74656e
7 changed files with 289 additions and 291 deletions

View file

@ -113,11 +113,11 @@ void GxsMessageFramePostWidget::updateDisplay(bool complete)
return;
}
bool updateGroup = false;
if (mGroupId.isNull()) {
return;
}
bool updateGroup = false;
const std::list<RsGxsGroupId> &grpIdsMeta = getGrpIdsMeta();
if (std::find(grpIdsMeta.begin(), grpIdsMeta.end(), mGroupId) != grpIdsMeta.end()) {
updateGroup = true;