Don't delete our reaction on Discord unless we have 0 of that reaction coming from Matrix #85
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue