Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expire timer updates: don't send if updated via remote message #2473

Merged
merged 1 commit into from Jun 21, 2018

Conversation

scottnonnenberg-signal
Copy link
Contributor

A recent change removed the type property to make markRead() behave properly, but that broke our 'should we send an update?' logic. So instead of using isIncoming() we now use what we previously used to determine whether a message was incoming: receivedAt.

Fixes #2472
Bug introduced here: dfa1f07#diff-e7ea6b899ac298e9faa100a737a9b5a9L885

A recent change removed the type property to make markRead() behave
properly, but that broke our check 'should we send an update?' logic. So
instead of using `isIncoming()` we now use the thing we previously used
to determine whether a message was incoming: `receivedAt`.
@scottnonnenberg-signal scottnonnenberg-signal merged commit b113cd0 into development Jun 21, 2018
@scottnonnenberg-signal scottnonnenberg-signal deleted the check-before-send branch June 21, 2018 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant