Replying to Avatar hzrd149

here is the code that handles CLOSE and NOTICE messages from relays https://github.com/hzrd149/nostrudel/blob/master/src/classes/relay-pool.ts#L218-L224

it will attempt to automatically authenticate but only if the user has "always" selected

however, due to how my subscription logic is structured it will not resend the subscription until its triggered again somewhere else in the app

just to update, i revised the relay protocol flow code and it works consistently now especially with the "proactively auth" option set

so, it was me... thanks for responding though

auth has been a real struggle for nostr this year, and a really important one as it turns out

Reply to this note

Please Login to reply.

Discussion

Auth is very useful, although I'm worried about it becoming the norm and doxing users connections. thats mainly why I have noStrudel set to ask the user every time instead of automatically :)