mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-22 09:57:19 +00:00
Revert to triggering a reconnection when skipping invalid packets
This commit is contained in:
parent
b23e34494e
commit
ce8c242eb4
@ -190,6 +190,7 @@ class Session:
|
||||
)
|
||||
except SecurityCheckMismatch as e:
|
||||
log.info(f"Discarding packet: {e}")
|
||||
await self.connection.close()
|
||||
return
|
||||
|
||||
messages = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user