diff --git a/src/Nostr/Connection.ts b/src/Nostr/Connection.ts index 014aed08..97b2669f 100644 --- a/src/Nostr/Connection.ts +++ b/src/Nostr/Connection.ts @@ -352,6 +352,10 @@ export default class Connection { } async _OnAuthAsync(challenge: string): Promise { + if(!this.Settings.read) { + return; + } + const authCleanup = () => { this.AwaitingAuth.delete(challenge) }