mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -04:00
- 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:
parent
2b36cefca2
commit
0abc2342fe
14 changed files with 99 additions and 42 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue