Skip to content

Commit

Permalink
fix: Too many notes were being classifed as CommentMention and render…
Browse files Browse the repository at this point in the history
…ing links as notes
  • Loading branch information
mikedilger committed Feb 5, 2025
1 parent 2201d86 commit 0d71ebd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gossip-bin/src/notedata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,10 @@ impl NoteData {
} else {
Some(RepostType::MentionOnly)
}
} else {
} else if event.kind == EventKind::TextNote || event.kind == EventKind::Comment {
Some(RepostType::CommentMention)
} else {
None
}
} else {
None
Expand Down

0 comments on commit 0d71ebd

Please sign in to comment.