Fix MessageCache when receiving story reactions
This commit is contained in:
parent
4dd97d4716
commit
bd562eeab8
1 changed files with 1 additions and 0 deletions
|
@ -2506,6 +2506,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
||||||
'handleReaction: targetConversation not found'
|
'handleReaction: targetConversation not found'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
window.MessageCache.toMessageAttributes(generatedMessage.attributes);
|
||||||
generatedMessage.set({
|
generatedMessage.set({
|
||||||
expireTimer: isDirectConversation(targetConversation.attributes)
|
expireTimer: isDirectConversation(targetConversation.attributes)
|
||||||
? targetConversation.get('expireTimer')
|
? targetConversation.get('expireTimer')
|
||||||
|
|
Loading…
Add table
Reference in a new issue