mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-20 06:21:00 +00:00
fixed app code and call on login, accent fold better
This commit is contained in:
parent
bc172cf70c
commit
d31c8b3602
@ -4559,6 +4559,7 @@ namespace {
|
||||
case 65359: return QChar(111);
|
||||
case 65363: return QChar(115);
|
||||
case 65367: return QChar(119);
|
||||
case 1105: return QChar(1077);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -251,9 +251,9 @@ void IntroPhone::phoneSubmitDone(const MTPauth_SentCode &result) {
|
||||
|
||||
const MTPDauth_sentCode &d(result.c_auth_sentCode());
|
||||
switch (d.vtype.type()) {
|
||||
case mtpc_auth_sentCodeTypeApp: intro()->setCodeByTelegram(true);
|
||||
case mtpc_auth_sentCodeTypeApp: intro()->setCodeByTelegram(true); break;
|
||||
case mtpc_auth_sentCodeTypeSms:
|
||||
case mtpc_auth_sentCodeTypeCall: intro()->setCodeByTelegram(false);
|
||||
case mtpc_auth_sentCodeTypeCall: intro()->setCodeByTelegram(false); break;
|
||||
case mtpc_auth_sentCodeTypeFlashCall: LOG(("Error: should not be flashcall!")); break;
|
||||
}
|
||||
intro()->setPhone(sentPhone, d.vphone_code_hash.c_string().v.c_str(), d.is_phone_registered());
|
||||
|
Loading…
Reference in New Issue
Block a user