Websocket does not provide "posted" events from other accounts

Summary
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

Expected behavior
The “posted” event appears on the websocket connection.

Observed behavior
No event does appear. Only “posted” events appear from the account the token was created from.