Open
Description
Describe the bug
When a message is written in mattermost, if the Kubernetes replica is not the same one matterbridge is logged into, then it does not capture and transmit the message.
To Reproduce
- Enable login mode and configure a 2-way bridge between mattermost and whatever else.
- Send a message from the other side of the bridge to mattermost. Works every time
- Send a message from mattermost to the other service. Will only work if both the user and the bot are logged into the same replica.
Expected behavior
Messages should hit the bridge in both directions.
Environment (please complete the following information):
- OS: Kubernetes with mattermost operator
Additional context
I believe this can be solved by using a webhook in one direction and the bot in the other direction. I will try this and perhaps submit a PR to the readme regarding this if it works.