mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Cast is_bot value to bool
This commit is contained in:
parent
341c41e7ef
commit
e7f6e9ec66
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class Syncer:
|
||||||
auth_key=auth_key,
|
auth_key=auth_key,
|
||||||
user_id=client.user_id,
|
user_id=client.user_id,
|
||||||
date=int(time.time()),
|
date=int(time.time()),
|
||||||
is_bot=client.is_bot,
|
is_bot=bool(client.is_bot),
|
||||||
peers_by_id={
|
peers_by_id={
|
||||||
k: getattr(v, "access_hash", None)
|
k: getattr(v, "access_hash", None)
|
||||||
for k, v in client.peers_by_id.copy().items()
|
for k, v in client.peers_by_id.copy().items()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue