mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 13:34:51 +00:00
Fix send AcceptTermsOfService not being awaited
This commit is contained in:
parent
af5c5d20cf
commit
ed562edb9f
1 changed files with 1 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ class Client(Methods, BaseClient):
|
|||
break
|
||||
|
||||
if terms_of_service:
|
||||
assert self.send(functions.help.AcceptTermsOfService(terms_of_service.id))
|
||||
assert await self.send(functions.help.AcceptTermsOfService(terms_of_service.id))
|
||||
|
||||
self.password = None
|
||||
self.user_id = r.user.id
|
||||
|
|
|
|||
Loading…
Reference in a new issue