For example, when syncing down MAM again over an area where we already have some of the messages (especially likely for sent, but possible either way) the decryption will fail (due to having already decrypted this one/advanced the counter) but we already have this message. So instead of replacing with a failed decrypt, just dont replace it? Or maybe update the serverId if not present…
lol. this happens for every outbound OMEMO message to a MUC due to reflection
8569e4301c1c23c0e57815a2d90c3f18416d58c4