mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Remove unnecessary branch
This commit is contained in:
parent
211381a9a8
commit
df5cee5b03
@ -275,12 +275,10 @@ class Session:
|
|||||||
|
|
||||||
if isinstance(i.body, (types.BadMsgNotification, types.BadServerSalt)):
|
if isinstance(i.body, (types.BadMsgNotification, types.BadServerSalt)):
|
||||||
msg_id = i.body.bad_msg_id
|
msg_id = i.body.bad_msg_id
|
||||||
elif isinstance(i.body, types.RpcResult):
|
elif isinstance(i.body, (core.FutureSalts, types.RpcResult)):
|
||||||
msg_id = i.body.req_msg_id
|
msg_id = i.body.req_msg_id
|
||||||
elif isinstance(i.body, types.Pong):
|
elif isinstance(i.body, types.Pong):
|
||||||
msg_id = i.body.msg_id
|
msg_id = i.body.msg_id
|
||||||
elif isinstance(i.body, core.FutureSalts):
|
|
||||||
msg_id = i.body.req_msg_id
|
|
||||||
else:
|
else:
|
||||||
if self.update_handler:
|
if self.update_handler:
|
||||||
self.update_handler(i.body)
|
self.update_handler(i.body)
|
||||||
|
Loading…
Reference in New Issue
Block a user