This commit is contained in:
masnn committed 2020-06-03 13:44:39 +08:00
1 parent 2b6a510c1e
commit f2bcc3bc93
23 files changed
+241 -119

No files matched your search

@@ -59,8 +59,8 @@ export default class MessagePadDialogueContentContainer extends React.PureCompon
isSelf={reply.from === UserContext._id}
faceUrl={
reply.from === this.props.item.from
? this.props.item.from_udoc.gravatar_url
: this.props.item.to_udoc.gravatar_url
? this.props.item.from_udoc.gravatar
: this.props.item.to_udoc.gravatar
}
>
<div>{reply.content}</div>
@@ -50,8 +50,8 @@ export default class MessagePadDialogueListContainer extends React.PureComponent
}
faceUrl={
dialogue.from === UserContext._id
? dialogue.to_udoc.gravatar_url
: dialogue.from_udoc.gravatar_url
? dialogue.to_udoc.gravatar
: dialogue.from_udoc.gravatar
}
active={dialogue._id === this.props.activeId}
onClick={() => this.props.handleClick(dialogue._id)}