Open joshuatbrown opened 8 months ago
My theory is that we have an Author
record in the database with this invalid npub. Maybe they are being created from a invalid link in a note or a contact list or something? Wherever it is we should probably be calling RawNostrID.isValid
to filter it out before it gets into the db.
When I type "abcd" in the search bar, I'm taken to a profile for the following npub: npub140xserft56
This npub looks invalid, and I'm not sure the search matches it at all, but whatever is going on should not be.
https://github.com/planetary-social/nos/assets/59564/065156ef-940b-4394-b6d5-976aaccc4b1e