Chatterino2: Filter duplicate messages when loading recent messages

Created on 15 Aug 2020  路  3Comments  路  Source: Chatterino/chatterino2

What should be added?
When chatterino loads recent messages, it sometimes happens that you get a couple of messages "duplicated" because chatterino received the messages live, and then also fetches those messages from the recent messages service.

My suggestion is to consider the timestamp of the "oldest received message" when inserting recent messages, and to filter those recent messages that have a timestamp earlier or equal to that.

image

(Maybe use tmi-sent-ts, rm-received-ts or similar, or one could also compare messages for some kind of weak equality: IRC command, prefix and command must equal strictly, and all tags from the live message equal the tags present on the recent message)

Why should it be added?

enhancement

All 3 comments

Pretty much required for loading recent messages not on startup. Can't find exact issue number FeelsDonkMan

Can't find exact issue number

1308?

This issue does not provide enough useful features. As such there is a likely chance of this never being implemented. I will close this so it doesn't become a stale issue that never gets closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TETYYS picture TETYYS  路  3Comments

pepemaluza picture pepemaluza  路  3Comments

zamusek picture zamusek  路  3Comments

PSlopp picture PSlopp  路  3Comments

doximanman picture doximanman  路  3Comments