File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
javascript/features/communication Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -127,10 +127,11 @@ export class CommunicationManager {
127127 }
128128
129129 // The |player| might be muted themselves. The message will be dropped, and we'll show them
130- // an informative message about when the mute is due to expire.
130+ // an informative message about when the mute is due to expire. Muted players may continue
131+ // to chat with administrators and their gang.
131132 {
132133 const remainingSeconds = this . muteManager_ . getPlayerRemainingMuteTime ( player ) ;
133- if ( remainingSeconds > 0 && unprocessedMessage [ 0 ] != '@' ) {
134+ if ( remainingSeconds > 0 && ! [ '@' , '!' ] . includes ( unprocessedMessage [ 0 ] ) ) {
134135 const expiration = new Date ( Date . now ( ) + remainingSeconds * 1000 ) ;
135136 const formattedExpiration = relativeTime ( { date1 : new Date ( ) , date2 : expiration } ) ;
136137
You can’t perform that action at this time.
0 commit comments