@@ -138,6 +138,7 @@ impl CommandRunner for NewArgs {
|
||||
subject,
|
||||
self.label,
|
||||
)?
|
||||
.dedup_tags()
|
||||
.pow(options.pow)
|
||||
.tags(content_details.into_tags())
|
||||
// p-tag the reset of the reposotoies owners
|
||||
|
||||
@@ -192,9 +192,9 @@ impl CommandRunner for ReplyArgs {
|
||||
root.as_ref(),
|
||||
repos.first().and_then(|r| r.relays.first()).cloned(),
|
||||
)
|
||||
.dedup_tags()
|
||||
.pow(options.pow)
|
||||
.tags(content_details.into_tags())
|
||||
.tag(Tag::public_key(reply_to.pubkey))
|
||||
.build(user_pubk);
|
||||
|
||||
let event_id = event.id.expect("There is an id");
|
||||
|
||||
@@ -115,6 +115,7 @@ impl CommandRunner for AnnounceArgs {
|
||||
self.label.into_iter().map(utils::str_trim).collect(),
|
||||
self.force_id,
|
||||
)?
|
||||
.dedup_tags()
|
||||
.pow(options.pow)
|
||||
.build(user_pubk);
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ impl EventBuilder {
|
||||
euc: None,
|
||||
maintainers,
|
||||
})?
|
||||
.dedup_tags()
|
||||
.tags(labels.into_iter().map(Tag::hashtag)),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user