Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order is not preserved on IRC <-> Telegram #2155

Open
matheusfillipe opened this issue Jun 3, 2024 · 0 comments
Open

Order is not preserved on IRC <-> Telegram #2155

matheusfillipe opened this issue Jun 3, 2024 · 0 comments
Labels

Comments

@matheusfillipe
Copy link

Describe the bug
Messages relayed to telegram can arrive in a different order than on IRC. This doesn't seem to happen to other gateways.

To Reproduce

  1. Create a IRC <-> Telegram gateway from the documented config.
  2. The IRC server or user must have no fakelag or rate limit.
  3. Messages will not arrive in order on telegram when multiple lines are sent from IRC.

Expected behavior
The order of messages should be preserved accross all targets.

Suggestion
It seems that shortest messages have a tendency of arriving first. I think this TODO is refearing to it and the sending should have a per channel lock so that it is blocked until the message is sent.

Environment (please complete the following information):

  • OS: Ubuntu 24.04 LTS
  • Matterbridge version: version: 1.26.1-dev d16645c from docker image 42wim/matterbridge:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant