mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 07:05:26 -04:00
added missing code for marking all msgs as read/unread
This commit is contained in:
parent
ff0836929d
commit
819035472d
3 changed files with 25 additions and 1 deletions
|
@ -658,7 +658,13 @@ QIcon PostedListWidgetWithModel::groupIcon()
|
|||
|
||||
void PostedListWidgetWithModel::setAllMessagesReadDo(bool read, uint32_t &token)
|
||||
{
|
||||
std::cerr << __PRETTY_FUNCTION__ << ": not implemented" << std::endl;
|
||||
if (groupId().isNull() || !IS_GROUP_SUBSCRIBED(mGroup.mMeta.mSubscribeFlags))
|
||||
return;
|
||||
|
||||
QModelIndex src_index;
|
||||
|
||||
mPostedPostsModel->setAllMsgReadStatus(read);
|
||||
|
||||
}
|
||||
|
||||
void PostedListWidgetWithModel::openComments(const RsGxsMessageId& msgId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue