Future-proof permissions

This commit is contained in:
Cadence Ember
2025-12-05 17:13:56 +13:00
parent 33ec4a9bea
commit 261bb1b8c8
4 changed files with 14 additions and 5 deletions

View File

@@ -161,7 +161,7 @@ const errorRetrySema = new Semaphore()
*/
async function onRetryReactionAdd(reactionEvent) {
const roomID = reactionEvent.room_id
errorRetrySema.request(async () => {
await errorRetrySema.request(async () => {
const event = await api.getEvent(roomID, reactionEvent.content["m.relates_to"]?.event_id)
// Check that it's a real error from OOYE