Don't delete our reaction on Discord unless we have 0 of that reaction coming from Matrix #85

Open
ellie wants to merge 8 commits from ellie/out-of-your-element:ellie-fix-reacts into main
Showing only changes of commit 622738fcf4 - Show all commits

View file

@ -33,7 +33,6 @@ async function removeSomeReactions(data) {
( "user_id" in data ? removeReaction(data, reactions) ( "user_id" in data ? removeReaction(data, reactions)
: "emoji" in data ? removeEmojiReaction(data, reactions) : "emoji" in data ? removeEmojiReaction(data, reactions)
: removeAllReactions(data, reactions)) : removeAllReactions(data, reactions))
console.log("ELLIE TEST: data:", data, "removals:", removals)
// Redact the events and delete individual stored events in the database // Redact the events and delete individual stored events in the database
for (const removal of removals) { for (const removal of removals) {