mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 14:48:19 +01:00
Update post_manually function to include path in content
This commit is contained in:
parent
d115bdda0f
commit
07337ffe2f
|
|
@ -80,7 +80,7 @@ async fn post_manually(
|
||||||
sensitive: false,
|
sensitive: false,
|
||||||
attributed_to: Url::parse(&data.local_user().await?.id).unwrap().into(),
|
attributed_to: Url::parse(&data.local_user().await?.id).unwrap().into(),
|
||||||
to: vec![public()],
|
to: vec![public()],
|
||||||
content: format!("Hello {}", creator.name),
|
content: format!("{} {}", path.1, creator.name),
|
||||||
tag: vec![mention],
|
tag: vec![mention],
|
||||||
in_reply_to: None,
|
in_reply_to: None,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue