Skip to content
  • slice's avatar
    Check for websocket token before connecting to chat · a67881b0
    slice authored
    Closes #403. Previously, a socket to the chat channel would be opened if
    chat is enabled, regardless if the user is logged in or not. This patch
    only allows a connection to be opened if a wsToken (websocket token) is
    present, which prevents websocket errors from unauthenticated users.
    a67881b0