mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
timeout for each contact in get_contacts
This commit is contained in:
@@ -99,6 +99,7 @@ class MessageReader:
|
||||
if packet_type_value == PacketType.PUSH_CODE_NEW_ADVERT.value:
|
||||
await self.dispatcher.dispatch(Event(EventType.NEW_CONTACT, c))
|
||||
else:
|
||||
await self.dispatcher.dispatch(Event(EventType.NEXT_CONTACT, c))
|
||||
self.contacts[c["public_key"]] = c
|
||||
|
||||
elif packet_type_value == PacketType.CONTACT_END.value:
|
||||
|
||||
Reference in New Issue
Block a user