Skip to content

fix outbox message count doubled in UI#272

Open
jolavillette wants to merge 1 commit intoRetroShare:masterfrom
jolavillette:FixOutboxMessageCount
Open

fix outbox message count doubled in UI#272
jolavillette wants to merge 1 commit intoRetroShare:masterfrom
jolavillette:FixOutboxMessageCount

Conversation

@jolavillette
Copy link
Contributor

When requesting BOX_ALL summaries, getMessageSummaries was iterating over both mSentMessages (which contains the original message with the PENDING flag) and msgOutgoing (which contains references to the same messages). This caused the UI to count each outbox message twice. msgOutgoing references are now only included when explicitly requesting BOX_OUTBOX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant