Proper handling of incoming 1:1 story replies

This commit is contained in:
Scott Nonnenberg 2024-02-26 13:57:55 -08:00 committed by GitHub
parent 02f01974c2
commit c981b0d7ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 8 deletions

View file

@ -1651,9 +1651,11 @@ export class Message extends React.PureComponent<Props, State> {
<>
{storyReplyContext.emoji && (
<div className="module-message__quote-story-reaction-header">
{i18n('icu:Quote__story-reaction', {
name: storyReplyContext.authorTitle,
})}
{isIncoming
? i18n('icu:Quote__story-reaction--you')
: i18n('icu:Quote__story-reaction', {
name: storyReplyContext.authorTitle,
})}
</div>
)}
<Quote