mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Replaced some qstr with u""_q literal.
This commit is contained in:
@@ -347,7 +347,7 @@ void QrWidget::handleTokenResult(const MTPauth_LoginToken &result) {
|
||||
|
||||
void QrWidget::showTokenError(const MTP::Error &error) {
|
||||
_requestId = 0;
|
||||
if (error.type() == qstr("SESSION_PASSWORD_NEEDED")) {
|
||||
if (error.type() == u"SESSION_PASSWORD_NEEDED"_q) {
|
||||
sendCheckPasswordRequest();
|
||||
} else if (base::take(_forceRefresh)) {
|
||||
refreshCode();
|
||||
|
||||
Reference in New Issue
Block a user