]> Untitled Git - lemmy.git/commit
Post creation from Mastodon (fixes #2590) (#2651)
authorNutomic <me@nutomic.com>
Fri, 20 Jan 2023 17:43:23 +0000 (18:43 +0100)
committerGitHub <noreply@github.com>
Fri, 20 Jan 2023 17:43:23 +0000 (12:43 -0500)
commit7e3d3839b60b52f5539699e1291c476820c67d43
tree4dfe52d9c5046e9bda3f453e68620681da1278ac
parentac56504291a7ab2cf0975272d54f6cf37b99d0f1
Post creation from Mastodon (fixes #2590) (#2651)

* Post creation from Mastodon (fixes #2590)

* better logic for page title

* add deserialize helper

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
crates/apub/assets/mastodon/objects/page.json [new file with mode: 0644]
crates/apub/src/api/resolve_object.rs
crates/apub/src/objects/post.rs
crates/apub/src/protocol/objects/mod.rs
crates/apub/src/protocol/objects/page.rs
scripts/test.sh