Closed arthurfranca closed 1 year ago
https://github.com/Cameri/nostream/blob/018f9a14fbdbe4686f4a4bf3efaa2c24a15b4662/src/utils/filter.ts#L1
NIP-12 doesn't talk about lowercase only, just single-letter key. So it should be /^#[A-z]$/
/^#[A-z]$/
Possibly there may be a similar problem when persisting/querying database.
https://github.com/Cameri/nostream/blob/018f9a14fbdbe4686f4a4bf3efaa2c24a15b4662/src/utils/filter.ts#L1
NIP-12 doesn't talk about lowercase only, just single-letter key. So it should be
/^#[A-z]$/
Possibly there may be a similar problem when persisting/querying database.