Add read receipt times to the hovertip of read markers
Fixes #2709. Surprisingly, this data was never passed down to ReadReceiptMarker.
This commit is contained in:
parent
587325b36c
commit
bd7553d1ea
3 changed files with 27 additions and 1 deletions
|
@ -33,6 +33,7 @@ module.exports = React.createClass({
|
|||
onClick: React.PropTypes.func,
|
||||
// Whether the onClick of the avatar should be overriden to dispatch 'view_user'
|
||||
viewUserOnClick: React.PropTypes.bool,
|
||||
title: React.PropTypes.string,
|
||||
},
|
||||
|
||||
getDefaultProps: function() {
|
||||
|
@ -58,7 +59,7 @@ module.exports = React.createClass({
|
|||
}
|
||||
return {
|
||||
name: props.member.name,
|
||||
title: props.member.userId,
|
||||
title: props.title || props.member.userId,
|
||||
imageUrl: Avatar.avatarUrlForMember(props.member,
|
||||
props.width,
|
||||
props.height,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue