From 6fe350971849a52134242f275864650835169195 Mon Sep 17 00:00:00 2001 From: April John Date: Sat, 23 Nov 2024 23:40:52 +0100 Subject: [PATCH] what happens if i just --- src/activities/create_post.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activities/create_post.rs b/src/activities/create_post.rs index bc53aa0..9a9bf23 100644 --- a/src/activities/create_post.rs +++ b/src/activities/create_post.rs @@ -122,7 +122,7 @@ async fn federate_inbox(note: crate::entities::post::Model) -> anyhow::Result<() let req_client = request_client(); for inbox in array { let push = req_client.post(inbox.clone()) - .header("X-Signed-By", format!("instance {}", API_DOMAIN.to_string())) + .header("X-Signed-By", note.url.to_string()) .json(&json); warn!("{}", inbox.to_string()); tokio::spawn(push_to_inbox(push));