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

Dedupe incoming messages by timestamp #1759

Closed
michaelkirk opened this issue Feb 13, 2017 · 2 comments
Closed

Dedupe incoming messages by timestamp #1759

michaelkirk opened this issue Feb 13, 2017 · 2 comments
Assignees

Comments

@michaelkirk
Copy link
Contributor

Bug description

Occasionally, especially in a group setting, we'll see duplicated incoming messages. Usually this can be traced back to the sender repeatedly sending their message because of a previously perceived failure to send.

Steps to reproduce

I'm not exactly sure here, but I think it's like this:

  • Start a group with Alice Android, Ivan iOS, and Wally Whatever.
  • Alice sends a "hello" message to the group, which successfully sends to Ivan, but fails to send to Wally (for whatever reason. Maybe keychange?)
  • Alice retries to send to Wally

Actual result: Ivan sees two "hello" messages from Alice. One for the original send attempt, and one for the retry.

Expected result: Ivan should only see one "hello" message. The second-received message should be silently discarded based on (sender, device, timestamp).

@michaelkirk michaelkirk added this to the Prioritized milestone Feb 13, 2017
@michaelkirk michaelkirk self-assigned this Feb 13, 2017
@2-4601
Copy link
Contributor

2-4601 commented Feb 13, 2017

You can reproduce this with signalapp/Signal-Android#2639
I.e. get in a bad coverage area, try sending group messages and when they fail hit those resend buttons.

I think the Android counterpart is this: signalapp/Signal-Android@7e51d61

@michaelkirk michaelkirk modified the milestones: Priority Ordered, 2.8.0 Feb 25, 2017
@michaelkirk
Copy link
Contributor Author

Will be in the next release

Solved by signalapp/SignalServiceKit#119

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

No branches or pull requests

2 participants