Make toNostrURI idempotent

This commit is contained in:
Jon Staab
2024-12-05 09:55:32 -08:00
parent 8584d0d864
commit d9ebaf6e14
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -107,9 +107,7 @@ export class Nip46Receiver extends Emitter {
await sleep(3000)
}
if (response.id) {
this.emit(Nip46Event.Receive, {...response, url, event} as Nip46Response)
}
this.emit(Nip46Event.Receive, {...response, url, event} as Nip46Response)
})
this.sub!.emitter.on(SubscriptionEvent.Complete, () => {