diff options
author | Vitaly Takmazov | 2019-03-01 23:28:03 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | 5e0b2264e306ffbda392e71e91298108ddec63f3 (patch) | |
tree | b3babb7eb6bd90d4d9d4906763464f875fcdfd98 | |
parent | 4839f107a911135e286db08b9025a57865434561 (diff) |
Avatars in replyTo
-rw-r--r-- | vnext/src/components/Thread.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 7a1b48f3..4dbd1b5d 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -99,15 +99,9 @@ export default class Thread extends React.Component { <div className="msg-header"> <Avatar user={msg.user}> <div className="msg-ts"> - <a href={`/${msg.user.uname}/${msg.mid}`}> - <time dateTime={msg.timestamp} - title={moment.utc(msg.timestamp).local().format('lll')}> - {moment.utc(msg.timestamp).fromNow()} - </time> - </a> {msg.replyto > 0 && ( - <a href={`#${msg.replyto}`}> in reply to {msg.to.uname} </a> + <a href={`#${msg.replyto}`} className="info-avatar"><img src={msg.to.avatar}/> {msg.to.uname} </a> )} </div> </Avatar> |