Skip to content

Commit

Permalink
Add new error for users not allowed to chat (#277)
Browse files Browse the repository at this point in the history
Due to a change in chat's authentication system, users who aren't
allowed to chat can now authenticate. Their chat messages are now
blocked via the chat backend.
  • Loading branch information
11k authored Jun 10, 2023
1 parent b3c36d3 commit e24cb54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/chat/js/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ const errorstrings = new Map(
activepoll: 'Poll already started.',
noactivepoll: 'No poll started.',
alreadyvoted: 'You have already voted!',
nochatting:
"You aren't allowed to chat. Either you haven't picked a username, or a mod disabled your privileges.",
})
);

Expand Down

0 comments on commit e24cb54

Please sign in to comment.