Fixes isHidden prop from not being present in StoryView

This commit is contained in:
Josh Perez 2022-08-11 15:38:24 -04:00 committed by GitHub
parent 7126cbd5e4
commit f7b2627991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View file

@ -153,6 +153,7 @@ export function getStoryView(
return {
attachment,
canReply: canReply(story, undefined, conversationSelector),
isHidden: Boolean(sender.hideStory),
isUnread: story.readStatus === ReadStatus.Unread,
messageId: story.messageId,
sender,