mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-07 09:55:46 +00:00
Replaced some qstr with u""_q literal.
This commit is contained in:
@@ -435,7 +435,7 @@ InlineBotQuery ParseInlineBotQuery(
|
||||
auto inlineUsernameEqualsText = (inlineUsernameEnd == textLength);
|
||||
auto validInlineUsername = false;
|
||||
if (inlineUsernameEqualsText) {
|
||||
validInlineUsername = text.endsWith(qstr("bot"));
|
||||
validInlineUsername = text.endsWith(u"bot"_q);
|
||||
} else if (inlineUsernameEnd < textLength && inlineUsernameLength) {
|
||||
validInlineUsername = text[inlineUsernameEnd].isSpace();
|
||||
}
|
||||
|
Reference in New Issue
Block a user