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:
parent
fab56e39ea
commit
94a4f08467
@ -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:]
|
||||
|
Loading…
Reference in New Issue
Block a user