Deduplicate IRC messages #10
Labels
No labels
bug
duplicate
easy
enhancement
FB messenger
help wanted
invalid
IRC
mattermost
question
todo
wontfix
XMPP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lx/easybridge#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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??
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?