Aevann 2024-03-09 08:38:56 +02:00
parent bc192e8eb3
commit 8e2a19e80b
1 changed files with 3 additions and 0 deletions

View File

@ -138,6 +138,9 @@ function update_inline_emoji_modal(event)
current_word = /(^|\s)([:!@][!#a-zA-Z0-9_]+(?=\n|$))/.exec(text.slice(0, coords === -1 ? text.length : coords));
if (current_word) current_word = current_word[2].toLowerCase();
if (current_word && (current_word.endsWith('#') || current_word.endsWith('!')))
return
if (current_word && curr_word_is_emoji() && current_word != ":")
{
openSpeedModal().then( () => {