Skip to content

Commit b59dcd1

Browse files
committed
Do not trigger a reconnection when skipping invalid packets
1 parent 7f9e841 commit b59dcd1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pyrogram/session/session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ async def handle_packet(self, packet):
189189
self.stored_msg_ids
190190
)
191191
except SecurityCheckMismatch:
192-
self.connection.close()
193192
return
194193

195194
messages = (

0 commit comments

Comments
 (0)