1
0
Fork 0
forked from alemi/upub

fix: log actor, not activity

This commit is contained in:
əlemi 2024-05-29 18:07:16 +02:00
parent 32ce9391a4
commit 2a6b6a88ae
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -22,7 +22,7 @@ impl apb::server::Inbox for Context {
let object_model = self.insert_object(object_node, Some(server)).await?; let object_model = self.insert_object(object_node, Some(server)).await?;
let expanded_addressing = self.expand_addressing(activity_model.addressed()).await?; let expanded_addressing = self.expand_addressing(activity_model.addressed()).await?;
self.address_to(Some(activity_model.internal), Some(object_model.internal), &expanded_addressing).await?; self.address_to(Some(activity_model.internal), Some(object_model.internal), &expanded_addressing).await?;
tracing::info!("{} posted {}", activity_model.id, object_model.id); tracing::info!("{} posted {}", activity_model.actor, object_model.id);
Ok(()) Ok(())
} }