Added waiting indicator to group tree for channels/posted when using "Mark all as read/unread".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-03-14 21:13:28 +00:00
parent c811d71738
commit d6ca3ffc27
21 changed files with 219 additions and 26 deletions

View file

@ -578,7 +578,7 @@ void PostedListWidget::insertRelatedPosts(const uint32_t &token)
applyRanking();
}
void PostedListWidget::setAllMessagesRead(bool read)
void PostedListWidget::setAllMessagesReadDo(bool read, uint32_t &token)
{
if (groupId().isNull() || !IS_GROUP_SUBSCRIBED(subscribeFlags())) {
return;
@ -587,7 +587,6 @@ void PostedListWidget::setAllMessagesRead(bool read)
foreach (PostedItem *item, mPostItems) {
RsGxsGrpMsgIdPair msgPair = std::make_pair(item->groupId(), item->messageId());
uint32_t token;
rsPosted->setMessageReadStatus(token, msgPair, read);
}
}