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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user