Merge pull request #2330 from ericholguin/highlight-fixes

highlight: fixes and improvements
This commit is contained in:
Daniel D’Aquino authored and GitHub committed 2024-07-19 10:50:30 -07:00
commit 10b1cf64ae
7 files changed
+29 -32

No files matched your search

+8 -1
View File
@@ -341,7 +341,14 @@ extension NdbNote {
}
func thread_reply() -> ThreadReply? {
ThreadReply(tags: self.tags)
if self.known_kind != .highlight {
return ThreadReply(tags: self.tags)
}
return nil
}
func highlighted_note_id() -> NoteId? {
return ThreadReply(tags: self.tags)?.reply.note_id
}
func get_content(_ keypair: Keypair) -> String {