fix: uniqueness check
This commit is contained in:
parent
727f8fc3ce
commit
7e2c903334
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class MessagePool:
|
|||
e["sig"],
|
||||
)
|
||||
with self.lock:
|
||||
if not event.id in self._unique_events:
|
||||
if not f"{subscription_id}_{event.id}" in self._unique_events:
|
||||
self._accept_event(EventMessage(event, subscription_id, url))
|
||||
elif message_type == RelayMessageType.NOTICE:
|
||||
self.notices.put(NoticeMessage(message_json[1], url))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue