chore: Improve single letter tags

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-06-10 08:53:22 +00:00
parent 8870f8ced3
commit 2a3e2e09c0
2 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
use clap::Args;
use nostr::{
event::{Kind, TagKind},
filter::{Alphabet, Filter},
filter::Filter,
};
use crate::{
@@ -89,7 +89,7 @@ impl CommandRunner for ViewArgs {
let mut issue_labels = utils::smart_wrap(
&issue
.tags
.filter(TagKind::single_letter(Alphabet::T, false))
.filter(TagKind::t())
.filter_map(|t| t.content().map(|l| format!("#{l}")))
.collect::<Vec<_>>()
.join(", "),