Deduplicate IRC messages #10

Open
opened 2020-02-28 17:30:10 +00:00 by lx · 1 comment
Owner

If several bridged users have joined the same IRC room, messages will be received multiple times. Since IRC messages do not have identifiers, they will not be deduplicated. How to fix this??

If several bridged users have joined the same IRC room, messages will be received multiple times. Since IRC messages do not have identifiers, they will not be deduplicated. How to fix this??
lx added the
IRC
bug
labels 2020-02-28 17:30:15 +00:00
Author
Owner

Idea: generate message IDs based on the hash of (author, text, approximate timestamp), where the timestamp can be in increments of say 10 seconds so that if the message is received by two clients during the same 10-seconds timeslice, their id will be the same. Unfortunately in this case dedup will not work at the barriers between 10-seconds timeslices.

Any better idea?

Idea: generate message IDs based on the hash of (author, text, approximate timestamp), where the timestamp can be in increments of say 10 seconds so that if the message is received by two clients during the same 10-seconds timeslice, their id will be the same. Unfortunately in this case dedup will not work at the barriers between 10-seconds timeslices. Any better idea?
Sign in to join this conversation.
No description provided.