mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Added update of channel item when meta data changed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7429 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
60a67846b0
commit
1c03fb0344
@ -166,7 +166,9 @@ GxsFeedItem::~GxsFeedItem()
|
|||||||
|
|
||||||
void GxsFeedItem::fillDisplay(bool /*complete*/)
|
void GxsFeedItem::fillDisplay(bool /*complete*/)
|
||||||
{
|
{
|
||||||
const std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > &msgs = mUpdateBroadcastBase->getMsgIds();
|
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > msgs;
|
||||||
|
mUpdateBroadcastBase->getAllMsgIds(msgs);
|
||||||
|
|
||||||
if (!msgs.empty())
|
if (!msgs.empty())
|
||||||
{
|
{
|
||||||
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> >::const_iterator mit = msgs.find(groupId());
|
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> >::const_iterator mit = msgs.find(groupId());
|
||||||
|
@ -119,7 +119,8 @@ void GxsChannelPostsWidget::updateDisplay(bool complete)
|
|||||||
/* Do we need to fill all posts? */
|
/* Do we need to fill all posts? */
|
||||||
requestPosts(mChannelId);
|
requestPosts(mChannelId);
|
||||||
} else {
|
} else {
|
||||||
const std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > &msgs = getMsgIds();
|
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > msgs;
|
||||||
|
getAllMsgIds(msgs);
|
||||||
if (!msgs.empty())
|
if (!msgs.empty())
|
||||||
{
|
{
|
||||||
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> >::const_iterator mit = msgs.find(mChannelId);
|
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> >::const_iterator mit = msgs.find(mChannelId);
|
||||||
|
Loading…
Reference in New Issue
Block a user