Skip to content

Commit

Permalink
Fix softAssert when sending reaction
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Perez <josh.p@signal.org>
  • Loading branch information
automated-signal and josh-signal committed Oct 23, 2023
1 parent 4413674 commit 767b696
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ts/jobs/helpers/sendReaction.ts
Expand Up @@ -173,6 +173,11 @@ export async function sendReaction(
})
),
});
// Adds the reaction's attributes to the message cache so that we can
// safely `set` on it later.
window.MessageCache.toMessageAttributes(
ephemeralMessageForReactionSend.attributes
);

ephemeralMessageForReactionSend.doNotSave = true;

Expand Down

0 comments on commit 767b696

Please sign in to comment.