mirror of
https://github.com/vale981/tdesktop
synced 2025-03-09 04:26:42 -04:00
fixed app code and call on login, accent fold better
This commit is contained in:
parent
bc172cf70c
commit
d31c8b3602
2 changed files with 3 additions and 2 deletions
|
@ -4559,6 +4559,7 @@ namespace {
|
||||||
case 65359: return QChar(111);
|
case 65359: return QChar(111);
|
||||||
case 65363: return QChar(115);
|
case 65363: return QChar(115);
|
||||||
case 65367: return QChar(119);
|
case 65367: return QChar(119);
|
||||||
|
case 1105: return QChar(1077);
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -251,9 +251,9 @@ void IntroPhone::phoneSubmitDone(const MTPauth_SentCode &result) {
|
||||||
|
|
||||||
const MTPDauth_sentCode &d(result.c_auth_sentCode());
|
const MTPDauth_sentCode &d(result.c_auth_sentCode());
|
||||||
switch (d.vtype.type()) {
|
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_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;
|
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());
|
intro()->setPhone(sentPhone, d.vphone_code_hash.c_string().v.c_str(), d.is_phone_registered());
|
||||||
|
|
Loading…
Add table
Reference in a new issue