aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-06-15 11:01:36 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commitfc4f1b07f906318a88dfcf2b1ee8e31d6387040e (patch)
tree70159e8b93e3bcc5eea626f73f1bf0eaa3d95b5a /vnext/src/ui
parent9e9a0cd95f6788a6555f97eb7f3a157ec45312bd (diff)
Using UserLink for replyto avatar
Fixes avatars and names for external users
Diffstat (limited to 'vnext/src/ui')
-rw-r--r--vnext/src/ui/Thread.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/src/ui/Thread.js b/vnext/src/ui/Thread.js
index 28ad8d39..6ebef0dc 100644
--- a/vnext/src/ui/Thread.js
+++ b/vnext/src/ui/Thread.js
@@ -8,6 +8,7 @@ import Message from './Message';
import MessageInput from './MessageInput';
import Spinner from './Spinner';
import Avatar from './Avatar';
+import { UserLink } from './UserInfo';
import Button from './Button';
import { format, embedUrls } from '../utils/embed';
@@ -52,7 +53,7 @@ function Comment({ msg, draft, visitor, active, setActive, onStartEditing, postC
<div className="msg-ts">
{msg.replyto > 0 &&
(
- <a href={`#${msg.replyto}`} className="info-avatar"><img src={msg.to.avatar} /> {msg.to.uname}&nbsp;</a>
+ <UserLink user={msg.to} />
)}
</div>
</Avatar>