Ensure messageCache is updated when properties are unset

Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2023-10-19 10:48:29 -07:00
committed by GitHub
parent 6bb68d7c03
commit ddd4118c53
3 changed files with 3 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ async function cleanupStoryReplies(
reply,
'cleanupStoryReplies/1:1'
);
model.unset('storyReplyContext');
model.set('storyReplyContext', undefined);
await model.hydrateStoryContext(story, { shouldSave: true });
})
);