mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -04:00
GXS Improvements:
- Added Basic CreateCircle Dialog. - Fixed up subscribe in both Posted and GxsChannels, tweaks to GxsForums too. - added update checks in GxsChannels. - made subscribe changes refresh Group List too. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
42c6a9282a
commit
c5a323f3cc
14 changed files with 1444 additions and 66 deletions
|
@ -321,12 +321,20 @@ void GxsForumsDialog::insertForumsData(const std::list<RsGroupMetaData> &forumLi
|
|||
GroupItemInfo groupItemInfo;
|
||||
forumInfoToGroupItemInfo(*it, groupItemInfo);
|
||||
|
||||
if (IS_GROUP_ADMIN(flags)) {
|
||||
adminList.push_back(groupItemInfo);
|
||||
} else if (IS_GROUP_SUBSCRIBED(flags)) {
|
||||
/* subscribed forum */
|
||||
subList.push_back(groupItemInfo);
|
||||
} else {
|
||||
if (IS_GROUP_SUBSCRIBED(flags))
|
||||
{
|
||||
if (IS_GROUP_ADMIN(flags))
|
||||
{
|
||||
adminList.push_back(groupItemInfo);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* subscribed forum */
|
||||
subList.push_back(groupItemInfo);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* rate the others by popularity */
|
||||
popMap.insert(std::make_pair(it->mPop, groupItemInfo));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue