Ensure messageCache is updated when properties are unset

This commit is contained in:
trevor-signal 2023-10-19 13:14:19 -04:00 committed by GitHub
parent 6906e39c87
commit ce276b56c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 });
})
);