Emoji helper: ignore some symbols

This commit is contained in:
Eduard Kuzmenko 2021-06-22 04:55:16 +03:00
parent 07dff5479c
commit 4b6dd5dee4

View File

@ -1265,7 +1265,7 @@ export default class ChatInput {
foundHelper = this.commandsHelper;
}
} else if(rootScope.settings.emoji.suggest) { // emoji
if(!value.match(/^\s*:(.+):\s*$/)) {
if(!value.match(/^\s*:(.+):\s*$/) && !value.match(/:[;!@#$%^&*()-=|]/)) {
foundHelper = this.emojiHelper;
this.emojiHelper.checkQuery(query, firstChar);
}