Skip to content

Commit

Permalink
client-side stop-gap fix for relays with no rtt being published
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Mar 10, 2024
1 parent 4979cb7 commit 9167f3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
const on_event_handler = (event) => {
if (initialSyncComplete && event.created_at < since) return;
const processedEvent = processEvent(event);
if(processedEvent.tags.filter(tag => tag[0] === 'rtt').length === 0) return
since = event.created_at;
if (!initialSyncComplete)
updateEvents(processedEvent);
Expand Down

0 comments on commit 9167f3a

Please sign in to comment.