Only show message/reaction sent toast for 1:1 replies

This commit is contained in:
Josh Perez 2022-08-24 17:39:44 -04:00 committed by GitHub
parent 981bbf1a3f
commit 1aa7d4cadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -756,16 +756,16 @@ export const StoryViewer = ({
onReactToStory(emoji, story);
if (!isGroupStory) {
setHasStoryViewsNRepliesModal(false);
showToast(ToastType.StoryReact);
}
setReactionEmoji(emoji);
showToast(ToastType.StoryReact);
}}
onReply={(message, mentions, replyTimestamp) => {
if (!isGroupStory) {
setHasStoryViewsNRepliesModal(false);
showToast(ToastType.StoryReply);
}
onReplyToStory(message, mentions, replyTimestamp, story);
showToast(ToastType.StoryReply);
}}
onSetSkinTone={onSetSkinTone}
onTextTooLong={onTextTooLong}