Make suggestions popup insert wrapped emotes

The suggestions popup will now insert wrapped emotes instead of bare
word emotes.  This is so the autocompletion will still work if the
WrappedEmotesOnly setting is set to true.
This commit is contained in:
Zorchenhimer 2020-04-19 12:50:26 -04:00
parent fab56e39ea
commit 94a4f08467
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func processMessageKey(this js.Value, v []js.Value) interface{} {
offset = 1
}
newval = newval[:i+offset] + currentSug
newval = newval[:i+offset] + ":" + currentSug + ":"
}
endVal := val[startIdx:]