Fix MessageCache when receiving story reactions

Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-02-29 12:37:16 -06:00 committed by GitHub
parent eeef1a3e51
commit 7844e43d87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')