Ensure that only messages with storyId have a StoryContext
This commit is contained in:
parent
dc9d186a2a
commit
78fd36e880
1 changed files with 3 additions and 1 deletions
|
@ -457,7 +457,9 @@ async function getMessageSendData({
|
||||||
preview,
|
preview,
|
||||||
quote,
|
quote,
|
||||||
sticker,
|
sticker,
|
||||||
storyContextTimestamp: message.get('sent_at'),
|
storyContextTimestamp: message.get('storyId')
|
||||||
|
? message.get('sent_at')
|
||||||
|
: undefined,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue