diff options
author | 2019-06-15 11:01:36 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:55 +0300 | |
commit | fc4f1b07f906318a88dfcf2b1ee8e31d6387040e (patch) | |
tree | 70159e8b93e3bcc5eea626f73f1bf0eaa3d95b5a | |
parent | 9e9a0cd95f6788a6555f97eb7f3a157ec45312bd (diff) |
Using UserLink for replyto avatar
Fixes avatars and names for external users
-rw-r--r-- | vnext/src/ui/Thread.js | 3 |
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} </a> + <UserLink user={msg.to} /> )} </div> </Avatar> |