Hey guys,
Googling around, I see that similar problems have existed for a century (since at least Odoo 10), but perhaps the root causes are unrelated.
The problem:
When creating a new mail.message with model mail.channel through the API, it doesn't appear on screen until you refresh the page. This obviously renders any use of notifications null. My assumption is that the database entry is created but it isn't queried until a new request is made by the client (maybe I'm wrong, whatever). Normal chat works just fine. This is self-hosted Odoo 16, with an nginx ssl proxy inbetween. It's setup according to the documentation, where /websocket goes to the gevent port while everything else goes to the normal port, but playing around (moving everything to the normal port, or the longpolling port) doesn't make any difference.
What can I do to circumvent this? I'd like 'Discuss' to work more akin to Slack, but at the moment this is completely unusable.
Still unresolved, bumping this to see if anyone has any input. Thanks!