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:00 -06:00 committed by GitHub
parent b8b9815783
commit c492e6c1be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2506,6 +2506,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')