upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-03-05 19:11:43 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-03-05 19:11:43 +0000
commit84a197700cac6b2ef72cf0723474ac3185c5d1de (patch)
tree2870e7dc5180c98b8b97edae44cceb15a691fb21 /src/bin/ngit
parentf78c2f58e1da73591c782086f76a8584c0406ca5 (diff)
refactor(set-subject): remove alt tag from subject label event
Diffstat (limited to 'src/bin/ngit')
-rw-r--r--src/bin/ngit/sub_commands/set_subject.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bin/ngit/sub_commands/set_subject.rs b/src/bin/ngit/sub_commands/set_subject.rs
index 0dc16f5..541cbd8 100644
--- a/src/bin/ngit/sub_commands/set_subject.rs
+++ b/src/bin/ngit/sub_commands/set_subject.rs
@@ -150,12 +150,6 @@ async fn publish_set_subject_event(
150 // Notify the target event author. 150 // Notify the target event author.
151 tags.push(Tag::public_key(target.pubkey)); 151 tags.push(Tag::public_key(target.pubkey));
152 152
153 // Human-readable alt text.
154 tags.push(Tag::custom(
155 nostr::TagKind::Custom(std::borrow::Cow::Borrowed("alt")),
156 vec![format!("set {target_kind} subject to: {subject}")],
157 ));
158
159 let subject_event = ngit::client::sign_event( 153 let subject_event = ngit::client::sign_event(
160 EventBuilder::new(KIND_LABEL, "").tags(tags), 154 EventBuilder::new(KIND_LABEL, "").tags(tags),
161 &signer, 155 &signer,