mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +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)):
|
||||
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
|
||||
elif isinstance(i.body, types.Pong):
|
||||
msg_id = i.body.msg_id
|
||||
elif isinstance(i.body, core.FutureSalts):
|
||||
msg_id = i.body.req_msg_id
|
||||
else:
|
||||
if self.update_handler:
|
||||
self.update_handler(i.body)
|
||||
|
Loading…
Reference in New Issue
Block a user