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: marker replies #2241

Merged
merged 4 commits into from
May 9, 2024
Merged

nip10: marker replies #2241

merged 4 commits into from
May 9, 2024

Conversation

jb55
Copy link
Collaborator

@jb55 jb55 commented May 9, 2024

This should drastically increase compatibility for damus replies in other clients.

Also filter non-pubkey references when replying so we don't run into the q-tag bug.

Changelog-Added: Added nip10 marker replies
Changelog-Fixed: Fixed issue where some replies were including the q tag
Fixes:

jb55 added 2 commits May 9, 2024 13:33
This should drastically increase compatibility for damus replies in
other clients.

Also filter non-pubkey references when replying so we don't run into the
q-tag bug.

Changelog-Added: Added nip10 marker replies
Changelog-Fixed: Fixed issue where some replies were including the q tag
Fixes: #2239
Fixes: #2233
Signed-off-by: William Casarin <jb55@jb55.com>
I noticed a few clients do this even though its not valid. Let's handle it.

Signed-off-by: William Casarin <jb55@jb55.com>
jb55 added 2 commits May 9, 2024 14:44
These are overlapping concepts, lets slowly get rid of EventRef

Signed-off-by: William Casarin <jb55@jb55.com>
Our nip10 logic looks for notes only in the in-memory cache. This means
sometimes threads don't get fully loaded if for whatever reason it's in
the nostrdb cache but not in-memory.

Ideally we would just remove our in-memory cache, but for now let's just
hack it so it falls back to nostrdb and makes an owned note.

Changelog-Fixed: Fixed threads not loading sometimes
Signed-off-by: William Casarin <jb55@jb55.com>
@jb55
Copy link
Collaborator Author

jb55 commented May 9, 2024

wow 4ac3da7 fixed so many broken threads. I integrated nostrdb so that it can crawl a thread no matter if the tags are correct or not.

@jb55 jb55 merged commit 4ac3da7 into master May 9, 2024
2 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.

None yet

1 participant