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