mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-08 09:24:17 +00:00
add ap_id, updated fields
This commit is contained in:
parent
2387763d19
commit
76c1dc2ad7
|
@ -206,6 +206,8 @@ impl ApubObject for ApubPost {
|
|||
PostForm {
|
||||
locked: page.comments_enabled.map(|e| !e),
|
||||
stickied: page.stickied,
|
||||
updated: page.updated.map(|u| u.naive_local()),
|
||||
ap_id: Some(page.id.clone().into()),
|
||||
..Default::default()
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue