Websocket does not provide “posted” events from other accounts.
Steps to reproduce
- Listen to the websocket with the personal access token of a system admin account.
- Log in to Mattermost with a random member user account
- Send a message to any channel
The “posted” event appears on the websocket connection.
No event does appear. Only “posted” events appear from the account the token was created from.