mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
call OnUpdate(signUpRequired) instead of OnUpdate(TOS) only
This commit is contained in:
parent
02c5b4137a
commit
a53610ccb9
|
|
@ -955,8 +955,7 @@ namespace WTelegram
|
|||
if (authorization is Auth_AuthorizationSignUpRequired signUpRequired)
|
||||
{
|
||||
var waitUntil = DateTime.UtcNow.AddSeconds(3);
|
||||
if (signUpRequired.terms_of_service != null)
|
||||
OnUpdate(signUpRequired.terms_of_service); // give caller the possibility to read and accept TOS
|
||||
OnUpdate(signUpRequired); // give caller the possibility to read and accept TOS
|
||||
var first_name = Config("first_name");
|
||||
var last_name = Config("last_name");
|
||||
var wait = waitUntil - DateTime.UtcNow;
|
||||
|
|
|
|||
Loading…
Reference in a new issue