[Feature request] Don't add timestamps to restored chat history
linaori opened this issue ยท 3 comments
Describe the problem
The timestamp is added for each message in the history, so you'll see <timestamp history loaded><timestamp from history>
, and this is done for each load. I've had messages with 7 timestamps ๐
What steps will reproduce the problem?
- Enable Both the timestamps and history
- Reload a couple of times
What version of the addon are you using?
v10.0.0
It seems I was mistaken, there is a setting in Leatrix Plus that restores the chat messages after a reload, and seems to be conflicting with the restore from this addon. When I disable the Leatrix Plus setting I see no duplicate timestamps.
This is essentially "working as intended" as the timestamps and history modules have no awareness of each other.
Attempting to resolve this would require string parsing and guessing what should or shouldn't be trimmed from a string, which is impossible to be 100% accurate i.e. there's a chance you cut out something you shouldn't, added by some other addon.
We also want to preserve the original timestamp for people showing seconds, so you'd be in a situation of trying to preserve the original timestamp, adding a new one, and removing everything in between,
In other words, it's just not worth resolving for something most people will never encounter. Having the raw unedited text is more important.