]> Untitled Git - lemmy.git/commit
Fix handling of follows addressed to single value (#2920)
authorvpzomtrrfrt <colin@vpzom.click>
Tue, 6 Jun 2023 22:33:38 +0000 (16:33 -0600)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2023 22:33:38 +0000 (18:33 -0400)
commit09099e7b90ec505772bcdeb1c7756047b8a6078d
tree73064d42596bb0273c4c71f82c517dc0427f5ec3
parent3565ad984a0270c7dd29051a9ff6d15fc5a8ed47
Fix handling of follows addressed to single value (#2920)

* Fix handling of follows addressed to single value

* Switch to deserialize_skip_error for Follow to

* Also use deserialize_skip_error for AcceptFollow and UndoFollow

* actually import deserialize_skip_error
crates/apub/assets/lotide/activities/follow.json [new file with mode: 0644]
crates/apub/src/protocol/activities/following/accept.rs
crates/apub/src/protocol/activities/following/follow.rs
crates/apub/src/protocol/activities/following/undo_follow.rs
crates/apub/src/protocol/activities/mod.rs