Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nip10: show initial reply information on notes #31

Merged
merged 2 commits into from
Apr 27, 2024
Merged

Conversation

jb55
Copy link
Contributor

@jb55 jb55 commented Apr 27, 2024

Using the newly merged nip10 code, we can show replies on notes!

This is not final, and it's actually different than how we do it in Damus iOS. Not sure if I like it yet. We will likely have to put pubkey information back in somewhere soon.

How the algorithm differs:

Using the nip10 information, it knows exactly what note its replying to and in what thread. Using this we look up those notes and then the corresponding pubkeys for those notes. That way we are always display the right information about what user is responding to whom.

It does not yet show everyone is tagged, maybe we can include that somewhere else or on the end.

Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 force-pushed the note-reply-info branch from a6acac0 to ae732f3 Compare April 27, 2024 08:53
Using the newly merged nip10 code, we can show replies on notes!

This is not final, and it's actually different than how we do it in
Damus iOS. Not sure if I like it yet. We will likely have to put pubkey
information back in somewhere soon.

Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 force-pushed the note-reply-info branch from ae732f3 to 69054d7 Compare April 27, 2024 08:58
@jb55 jb55 merged commit 69054d7 into master Apr 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deprecated positional nip-10 support Show "replying to.." on notes nip-10 thread replies
1 participant