mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 15:50:38 -04:00
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:
parent
c811d71738
commit
d6ca3ffc27
21 changed files with 219 additions and 26 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue