forked from cadence/out-of-your-element
Suppress error when adding to a super reaction
This commit is contained in:
parent
8d4d505ab9
commit
c50d238552
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue