Include distribution list name on sent stories

This commit is contained in:
Josh Perez 2022-09-22 14:56:49 -04:00 committed by GitHub
parent 94ef800e33
commit d911439f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 76 additions and 18 deletions

View file

@ -67,7 +67,7 @@ export function SmartStoryViewer(): JSX.Element | null {
storyInfo,
'StoryViewer: selected story does not exist in stories'
);
const { conversationStory, storyView } = storyInfo;
const { conversationStory, distributionList, storyView } = storyInfo;
const recentEmojis = useRecentEmojis();
const skinTone = useSelector<StateType, number>(getEmojiSkinTone);
@ -84,6 +84,7 @@ export function SmartStoryViewer(): JSX.Element | null {
return (
<StoryViewer
currentIndex={selectedStoryData.currentIndex}
distributionListName={distributionList?.name}
getPreferredBadge={getPreferredBadge}
group={conversationStory.group}
hasActiveCall={hasActiveCall}