Suppress error when adding to a super reaction
This commit is contained in:
@@ -31,6 +31,10 @@ async function addReaction(event) {
|
|||||||
// not adding it to the database otherwise a m->d removal would try calling the API
|
// not adding it to the database otherwise a m->d removal would try calling the API
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (e.message?.includes("Unknown Emoji")) {
|
||||||
|
// happens if a matrix user tries to add on to a super reaction
|
||||||
|
return
|
||||||
|
}
|
||||||
throw e
|
throw e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user