forked from AkkomaGang/akkoma-fe
a67881b096
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. |
||
---|---|---|
.. | ||
api.js | ||
chat.js | ||
config.js | ||
errors.js | ||
instance.js | ||
interface.js | ||
media_viewer.js | ||
oauth.js | ||
oauth_tokens.js | ||
statuses.js | ||
users.js |