fix: Use radicle::Node::announce_refs_for

This commit is contained in:
Lorenz Leutgeb
2026-03-21 18:54:42 +01:00
parent a7fc588653
commit d8cde006e9
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -116,7 +116,7 @@ pub trait IssuesMut: Profile {
)?;
if opts.announce() {
if let Err(e) = node.announce_refs(rid) {
if let Err(e) = node.announce_refs_for(rid, [profile.public_key]) {
log::error!("Not able to announce changes: {}", e)
}
}
@@ -188,7 +188,7 @@ pub trait IssuesMut: Profile {
}
if opts.announce() {
if let Err(e) = node.announce_refs(rid) {
if let Err(e) = node.announce_refs_for(rid, [profile.public_key]) {
log::error!("Not able to announce changes: {}", e)
}
}
+1 -1
View File
@@ -292,7 +292,7 @@ pub trait PatchesMut: Profile {
}
if opts.announce() {
if let Err(e) = node.announce_refs(rid) {
if let Err(e) = node.announce_refs_for(rid, [profile.public_key]) {
log::error!("Not able to announce changes: {}", e)
}
}
+2 -2
View File
@@ -119,7 +119,7 @@ pub trait Thread: Profile {
)?;
if opts.announce() {
if let Err(e) = node.announce_refs(rid) {
if let Err(e) = node.announce_refs_for(rid, [profile.public_key]) {
log::error!("Not able to announce changes: {}", e)
}
}
@@ -162,7 +162,7 @@ pub trait Thread: Profile {
)?;
if opts.announce() {
if let Err(e) = node.announce_refs(rid) {
if let Err(e) = node.announce_refs_for(rid, [profile.public_key]) {
log::error!("Not able to announce changes: {}", e)
}
}