mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-04 20:59:05 -04:00
Fixed missuse of message flag UNPROCESSED as indicator for a NEW message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bec735b60a
commit
1bfa4df911
6 changed files with 18 additions and 18 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_UNREAD | GXS_SERV::GXS_MSG_STATUS_UNPROCESSED)); // orig status, without UNREAD and UNPROCESSED.
|
||||
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.
|
||||
if (!read) {
|
||||
statusNew |= GXS_SERV::GXS_MSG_STATUS_UNREAD;
|
||||
statusNew |= GXS_SERV::GXS_MSG_STATUS_GUI_USER_UNREAD;
|
||||
}
|
||||
|
||||
if (status != statusNew) // is it different?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue