]> Untitled Git - lemmy.git/commit
Rewrite voting (#1685)
authorNutomic <me@nutomic.com>
Mon, 2 Aug 2021 20:33:40 +0000 (20:33 +0000)
committerGitHub <noreply@github.com>
Mon, 2 Aug 2021 20:33:40 +0000 (16:33 -0400)
commitb8d7f00d58c0c76c70436b2a070f19351d5ccbd5
treeaa8612516589f11573af909dd5db13f5cd7dbe86
parent1664cb326a2ed7aff749a6b2f66da7958e690e31
Rewrite voting (#1685)

* Merge like/dislike activity handlers into vote

* Rewrite vote sending code

* Remove old send_create, send_update functions
18 files changed:
crates/api/src/comment.rs
crates/api/src/post.rs
crates/api_crud/src/comment/create.rs
crates/api_crud/src/post/create.rs
crates/apub/src/activities/community/announce.rs
crates/apub/src/activities/mod.rs
crates/apub/src/activities/send/comment.rs
crates/apub/src/activities/send/post.rs
crates/apub/src/activities/send/private_message.rs
crates/apub/src/activities/voting/dislike.rs [deleted file]
crates/apub/src/activities/voting/like.rs [deleted file]
crates/apub/src/activities/voting/mod.rs
crates/apub/src/activities/voting/undo_dislike.rs [deleted file]
crates/apub/src/activities/voting/undo_like.rs [deleted file]
crates/apub/src/activities/voting/undo_vote.rs [new file with mode: 0644]
crates/apub/src/activities/voting/vote.rs [new file with mode: 0644]
crates/apub/src/http/inbox_enums.rs
crates/apub/src/lib.rs