aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-01 23:28:03 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit5e0b2264e306ffbda392e71e91298108ddec63f3 (patch)
treeb3babb7eb6bd90d4d9d4906763464f875fcdfd98 /vnext/src/components
parent4839f107a911135e286db08b9025a57865434561 (diff)
Avatars in replyTo
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Thread.js8
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}&nbsp;</a>
+ <a href={`#${msg.replyto}`} className="info-avatar"><img src={msg.to.avatar}/> {msg.to.uname}&nbsp;</a>
)}
</div>
</Avatar>