Stories: Don't drop 1:1 replies, always 24-hour expireTimer

This commit is contained in:
Scott Nonnenberg 2022-09-09 17:05:07 -07:00 committed by GitHub
parent 383a0fd17f
commit 380833447f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View file

@ -2422,9 +2422,13 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
findStoryMessage(conversation.id, initialMessage.storyContext),
]);
if (initialMessage.storyContext && !storyQuote) {
if (
initialMessage.storyContext &&
!storyQuote &&
!isDirectConversation(conversation.attributes)
) {
log.warn(
`handleDataMessage/${idLog}: Received storyContext message but no matching story. Dropping.`
`handleDataMessage/${idLog}: Received storyContext message in group but no matching story. Dropping.`
);
confirm();