diff --git a/src/activitypub/user/outbox.rs b/src/activitypub/user/outbox.rs index 0326d294..75987e86 100644 --- a/src/activitypub/user/outbox.rs +++ b/src/activitypub/user/outbox.rs @@ -164,6 +164,7 @@ pub async fn post( actor: Set(to.to_string()), activity: Set(aid.clone()), object: Set(Some(oid.clone())), + published: Set(chrono::Utc::now()), ..Default::default() }) .collect(); @@ -225,6 +226,7 @@ pub async fn post( actor: Set(to.to_string()), activity: Set(aid.clone()), object: Set(None), + published: Set(chrono::Utc::now()), ..Default::default() }) .collect();