diff options
author | Vitaly Takmazov | 2022-10-28 13:49:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | d30ed659de70a2cd833a18c02005b5c9a3b84bd8 (patch) | |
tree | 7f4182a3da38bd8fad5acbf1c4eba9f8cee1aa51 /vnext/src/ui/Thread.js | |
parent | 8aecfadb13f8fc6053470d80de2acd2b3f160f57 (diff) |
Basic profile caching
Diffstat (limited to 'vnext/src/ui/Thread.js')
-rw-r--r-- | vnext/src/ui/Thread.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/ui/Thread.js b/vnext/src/ui/Thread.js index a290acd7..4982daed 100644 --- a/vnext/src/ui/Thread.js +++ b/vnext/src/ui/Thread.js @@ -53,8 +53,8 @@ function Comment({ msg, draft, visitor, active, setActive, onStartEditing, postC if (isMounted) { setAuthor({ uid: 0, - uname: remote_user.data.preferredUsername, - avatar: remote_user.data.icon && remote_user.data.icon.url, + uname: remote_user.preferredUsername, + avatar: remote_user.icon && remote_user.icon.url, uri: author.uri }); } |