Browse Source

Emoji helper: ignore some symbols

master
Eduard Kuzmenko 3 years ago
parent
commit
4b6dd5dee4
  1. 2
      src/components/chat/input.ts

2
src/components/chat/input.ts

@ -1265,7 +1265,7 @@ export default class ChatInput { @@ -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);
}

Loading…
Cancel
Save