mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-14 03:52:39 -04:00
Added read status to posted messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d3682337f0
commit
fbb177dd66
6 changed files with 181 additions and 79 deletions
|
@ -1390,9 +1390,9 @@ void GxsForumThreadWidget::setMsgReadStatus(QList<QTreeWidgetItem*> &rows, bool
|
|||
|
||||
uint32_t status = (*row)->data(COLUMN_THREAD_DATA, ROLE_THREAD_STATUS).toUInt();
|
||||
|
||||
uint32_t statusNew = (status & ~(GXS_SERV::GXS_MSG_STATUS_GUI_NEW | GXS_SERV::GXS_MSG_STATUS_GUI_USER_UNREAD)); // orig status, without UNREAD and UNPROCESSED.
|
||||
uint32_t statusNew = (status & ~(GXS_SERV::GXS_MSG_STATUS_GUI_NEW | GXS_SERV::GXS_MSG_STATUS_GUI_UNREAD)); // orig status, without NEW AND UNREAD
|
||||
if (!read) {
|
||||
statusNew |= GXS_SERV::GXS_MSG_STATUS_GUI_USER_UNREAD;
|
||||
statusNew |= GXS_SERV::GXS_MSG_STATUS_GUI_UNREAD;
|
||||
}
|
||||
|
||||
if (status != statusNew) // is it different?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue