mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
Fixed the set of read state of forum messages in feed item.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7697 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b3a33206b1
commit
55c4cf895a
@ -499,7 +499,7 @@ void GxsForumMsgItem::setAsRead()
|
||||
RsGxsGrpMsgIdPair msgPair = std::make_pair(groupId(), messageId());
|
||||
|
||||
uint32_t token;
|
||||
rsGxsForums->setMessageReadStatus(token, msgPair, false);
|
||||
rsGxsForums->setMessageReadStatus(token, msgPair, true);
|
||||
|
||||
setReadStatus(false, false);
|
||||
}
|
||||
|
@ -329,7 +329,8 @@ void GxsForumThreadWidget::updateDisplay(bool complete)
|
||||
/* Update threads */
|
||||
insertThreads();
|
||||
} else {
|
||||
const std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > &msgIds = getMsgIds();
|
||||
std::map<RsGxsGroupId, std::vector<RsGxsMessageId> > msgIds;
|
||||
getAllMsgIds(msgIds);
|
||||
if (msgIds.find(mForumId) != msgIds.end()) {
|
||||
/* Update threads */
|
||||
insertThreads();
|
||||
|
Loading…
Reference in New Issue
Block a user