Proper handling of incoming 1:1 story replies
This commit is contained in:
parent
02f01974c2
commit
c981b0d7ea
4 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -1839,8 +1839,8 @@ export const StoryReplyYours = (): JSX.Element => {
|
|||
export const StoryReplyEmoji = (): JSX.Element => {
|
||||
const conversation = getDefaultConversation();
|
||||
|
||||
return renderThree({
|
||||
...createProps({ direction: 'outgoing', text: 'Wow!' }),
|
||||
return renderBothDirections({
|
||||
...createProps({ text: 'Wow!' }),
|
||||
storyReplyContext: {
|
||||
authorTitle: conversation.firstName || conversation.title,
|
||||
conversationColor: ConversationColors[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue