Fix Missing messages when mark all as read.

If message get olders versions, these ones was not marked as read. So it
left unread messages on thread despite nothing appears on tree view.
This commit is contained in:
Phenom 2017-04-29 17:32:23 +02:00
parent 4d7bd833a9
commit 77adc82aa2
2 changed files with 20 additions and 4 deletions

View file

@ -239,17 +239,21 @@ void RsGxsMsgMetaData::clear()
mMsgId.clear();
mThreadId.clear();
mParentId.clear();
mAuthorId.clear();
mOrigMsgId.clear();
mMsgName.clear();
mServiceString.clear();
mAuthorId.clear();
signSet.TlvClear();
mMsgName.clear();
mPublishTs = 0;
mMsgFlags = 0;
mServiceString.clear();
mMsgStatus = 0;
mMsgSize = 0;
mChildTs = 0;
recvTS = 0;
mHash.clear();
validated = false;
}
bool RsGxsMsgMetaData::serialise(void *data, uint32_t *size)