mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Don't suggest emoji on :[non-letter].
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user