Pick the fix
After a reconnect, some messages appear twice and others out of order. Best fix?
Hint 1 of 1
What identifies a message, and what orders it?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Use client-generated ids for dedupe, server sequence numbers for order, and fetch after the last sequence on reconnect
Correct. Identity and order both come from stable sources.
Why not the others?
- B Order by device timestamp. Clocks drift between devices.
- C Clear and reload the whole conversation on reconnect. It's slow and loses pending messages.
- D Dedupe by message text. People send the same text twice.