mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
fix: add mentioned user to TO in test
This commit is contained in:
parent
25d857c0f3
commit
b29ca0cadc
|
|
@ -94,7 +94,7 @@ async fn post_manually(
|
||||||
id: id.clone(),
|
id: id.clone(),
|
||||||
sensitive: false,
|
sensitive: false,
|
||||||
attributed_to: Url::parse(&local_user.id).unwrap().into(),
|
attributed_to: Url::parse(&local_user.id).unwrap().into(),
|
||||||
to: vec![public()],
|
to: vec![public(), mention.href.clone()],
|
||||||
content: format!("{} {}", path.1, target.name),
|
content: format!("{} {}", path.1, target.name),
|
||||||
tag: vec![mention],
|
tag: vec![mention],
|
||||||
in_reply_to: None,
|
in_reply_to: None,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue