Skip to content

"Message failed to send" with duplication (maybe echo mismatch due to clock offset) #1671

@lephe

Description

@lephe

When sending messages (to my self-hosted Ergo instance) I always get messages twice; one at the current server time, one at my local time saying "Message failed to send".

Image

As far as I understand, the first one is the server's echo and the second one is the message Halloy expected to send; and it fails to match them.

A very quick search through issues and the code leads me to the matches! macro and I see this 5-minute tolerance on echo time, which may or may not be related but sounds about right.

My computer's clock is ahead like 7-10 minutes (on purpose). Would that produce the above effect? Is there any way I can tell Halloy about this offset (so it subtracts it when generating message timestamps) or increase the tolerance? Or is that too silly?

Much love.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions