perf: sync protocol and core hardening updates
This commit is contained in:
parent
152fed3b87
commit
4390ebf5a9
283 changed files with 29231 additions and 2295 deletions
|
|
@ -51,10 +51,12 @@ func (r *Router) onAccountChangePhone(ctx context.Context, req *tg.AccountChange
|
|||
return nil, authKeyUnregisteredErr()
|
||||
}
|
||||
sessionID, _ := SessionIDFrom(ctx)
|
||||
originRawAuthKeyID := rawAuthKeyIDForOrigin(ctx)
|
||||
result, err := r.deps.Account.ChangePhone(
|
||||
ctx,
|
||||
userID,
|
||||
authKeyID,
|
||||
originRawAuthKeyID,
|
||||
sessionID,
|
||||
req.PhoneNumber,
|
||||
req.PhoneCodeHash,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue