Should get an emoji
we got the text ":o"
Operating system:
Windows
Version of Telegram Desktop:
1.2.20 alpha
Used theme:
custom theme
This is because:
https://github.com/telegramdesktop/tdesktop/blob/4b763a76df514c6f98bc588b66b8df070ec66d85/Telegram/SourceFiles/codegen/emoji/data.cpp#L60
why the need of typing ":ok" without space after ":" ?
after the emoji suggestion panel, I already had to add an extra space to get the correct emoji (I got :o: emoji instead).
Since 1.2.20, I can't type the ":o" emoji at all.
@Geobert :ok is a start of an emoji replacement. If you replace :o instantly you can't type :ok if you want :ok: or :ok_hand:
I see, can we have ":o " (with trailing space) as a workaround then? As we had anyway to add the space to avoid :o: witch was automatically selected in the suggestion box
@john-preston Indeed, what about requiring additional whitespace character for non-:: emoji replacements?
The only issue I can see is handling them in the message end.
@stek29 You want only to return :o or to require space in some other replaces as well?
@john-preston I think that requiring whitespace makes sense for other replacements too
Fixed in 1.2.21 alpha! Thanks!
@john-preston Is :o in the end of message not considered as an issue?
@stek29 I don't think it is. You can press space and get the emoji.
I confirm it works at the end of a message :)
Most helpful comment
@john-preston I think that requiring whitespace makes sense for other replacements too