Commit graph

4 commits

Author SHA1 Message Date
fef
30362cb520
fix reaction deletion bug and clean up controller
Turns out the strange error where it would delete
the wrong reaction occurred because I forgot to
pass the emoji name to the query, which resulted
in the database deleting the first reaction it
found.  Also, this removes the unused set_reaction
callback and includes the Authorization module for
the status reactions controller.
2022-12-01 22:37:29 +01:00
fef
8503bdf46d
cleanup backend emoji reaction code 2022-12-01 22:37:28 +01:00
fef
9cc751f5f1
federate emoji reactions
this is kind of experimental, but it should work
in theory.  at least i tested it with a remove
akkoma instance and it didn't crash.
2022-12-01 22:37:27 +01:00
fef
493f746150
add backend support for status emoji reactions
turns out we can just reuse the code for
announcement reactions.
2022-12-01 22:37:26 +01:00