Fix story reactions in 1:1 conversations
This commit is contained in:
parent
22036c652b
commit
8452a72847
2 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,7 @@ export class Reactions extends Collection<ReactionModel> {
|
|||
// if the reaction is targetted at a story.
|
||||
if (isStory(targetMessage)) {
|
||||
generatedMessage.set({
|
||||
expireTimer: targetConversation.get('expireTimer'),
|
||||
storyId: targetMessage.id,
|
||||
storyReaction: {
|
||||
emoji: reaction.get('emoji'),
|
||||
|
|
|
@ -3467,6 +3467,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
received_at: incrementMessageCounter(),
|
||||
received_at_ms: newReaction.timestamp,
|
||||
timestamp: newReaction.timestamp,
|
||||
expireTimer: conversation.get('expireTimer'),
|
||||
sendStateByConversationId: zipObject(
|
||||
Object.keys(newReaction.isSentByConversationId || {}),
|
||||
repeat({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue