mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-01 23:00:58 +00:00
Don't suggest emoji on :[non-letter].
This commit is contained in:
parent
0eb975e679
commit
2f1b029ec9
@ -49,8 +49,7 @@ struct LangPackData {
|
||||
[[nodiscard]] bool SkipExactKeyword(
|
||||
const QString &language,
|
||||
const QString &word) {
|
||||
if ((word.size() == 1)
|
||||
&& (word[0] >= '0' && word[0] <= '9')) {
|
||||
if ((word.size() == 1) && !word[0].isLetter()) {
|
||||
return true;
|
||||
} else if (word == qstr("10")) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user