Skip to content

Commit

Permalink
Fix MessageCache when receiving story reactions
Browse files Browse the repository at this point in the history
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and ayumi-signal committed Feb 29, 2024
1 parent eeef1a3 commit 7844e43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ts/models/messages.ts
Expand Up @@ -2505,6 +2505,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
'handleReaction: targetConversation not found'
);

window.MessageCache.toMessageAttributes(generatedMessage.attributes);
generatedMessage.set({
expireTimer: isDirectConversation(targetConversation.attributes)
? targetConversation.get('expireTimer')
Expand Down

0 comments on commit 7844e43

Please sign in to comment.