damus
damus copied to clipboard
Added In before component - displays when a user first created an event
This PR adds the "In before" component to the ProfileView. It is displaying the month and year of the user's first event, since there is no real way of knowing when a user joined nostr. The name "In before" is technically accurate since the user joined before that event and also has been widely posted on nostr as a meme at this point.
this is probably not doing what you think it is. this wouldn't show you the user's oldest event. also created_at dates could be faked.
Yeah my assumption was that events are ordered by the 'created_at' key, so the last event is assumed to be the first created. I'm also guessing this might be an issue due to relays being used and it might not grab the actual oldest event. I'll dig into the code more but if you can share how it works i'd appreciate it. As for created_date being faked, can NIP 22 solve for this?
Closing - no solution for this yet and not critical