Fix highlight comment rendering

Closes: https://github.com/damus-io/damus/issues/3129
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
Daniel D’Aquino
2025-07-28 18:04:38 -07:00
parent 4815c8a6f7
commit 5e420187e0
2 changed files with 6 additions and 0 deletions

View File

@@ -120,6 +120,9 @@ struct NdbBlockGroup: ~Copyable {
if event.is_content_encrypted() {
return try parse(event: event, keypair: keypair)
}
else if event.known_kind == .highlight {
return try parse(event: event, keypair: keypair)
}
else {
guard let offsets = event.block_offsets(ndb: ndb) else {
return try parse(event: event, keypair: keypair)