change caps lock detection again, allow F
This commit is contained in:
parent
1c7dd67573
commit
e1783bd53c
|
@ -61,7 +61,10 @@ class ChatProvider {
|
||||||
return 'Your mail has to be verified in order to chat';
|
return 'Your mail has to be verified in order to chat';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message.match(this.caseCheck)) {
|
if (message.length > 1
|
||||||
|
&& message === message.toUpperCase()
|
||||||
|
&& message !== message.toLowerCase()
|
||||||
|
) {
|
||||||
return 'Stop shouting';
|
return 'Stop shouting';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user