diff --git a/ui/component/comment/index.js b/ui/component/comment/index.js
index 315d5188f..0e92f94f5 100644
--- a/ui/component/comment/index.js
+++ b/ui/component/comment/index.js
@@ -1,5 +1,5 @@
import { connect } from 'react-redux';
-import { makeSelectStakedLevelForChannelUri, makeSelectThumbnailForUri, selectMyChannelClaims } from 'lbry-redux';
+import { makeSelectStakedLevelForChannelUri, makeSelectClaimForUri, makeSelectThumbnailForUri, selectMyChannelClaims } from 'lbry-redux';
import { doCommentUpdate } from 'redux/actions/comments';
import { makeSelectChannelIsMuted } from 'redux/selectors/blocked';
import { doToast } from 'redux/actions/notifications';
@@ -11,6 +11,7 @@ import { selectPlayingUri } from 'redux/selectors/content';
import Comment from './view';
const select = (state, props) => ({
+ claim: makeSelectClaimForUri(props.uri)(state),
thumbnail: props.authorUri && makeSelectThumbnailForUri(props.authorUri)(state),
channelIsBlocked: props.authorUri && makeSelectChannelIsMuted(props.authorUri)(state),
commentingEnabled: IS_WEB ? Boolean(selectUserVerifiedEmail(state)) : true,
diff --git a/ui/component/comment/view.jsx b/ui/component/comment/view.jsx
index 3ef1ded24..2f8fd8b88 100644
--- a/ui/component/comment/view.jsx
+++ b/ui/component/comment/view.jsx
@@ -25,6 +25,7 @@ import UriIndicator from 'component/uriIndicator';
type Props = {
clearPlayingUri: () => void,
uri: string,
+ claim: StreamClaim,
author: ?string, // LBRY Channel Name, e.g. @channel
authorUri: string, // full LBRY Channel URI: lbry://@channel#123...
commentId: string, // sha256 digest identifying the comment
@@ -59,6 +60,7 @@ const ESCAPE_KEY = 27;
function Comment(props: Props) {
const {
clearPlayingUri,
+ claim,
uri,
author,
authorUri,
@@ -98,6 +100,7 @@ function Comment(props: Props) {
const dislikesCount = (othersReacts && othersReacts.dislike) || 0;
const totalLikesAndDislikes = likesCount + dislikesCount;
const slimedToDeath = totalLikesAndDislikes >= 5 && dislikesCount / totalLikesAndDislikes > 0.8;
+ const commentByOwnerOfContent = claim && claim.signing_channel && claim.signing_channel.permanent_url === authorUri;
let channelOwnerOfContent;
try {
@@ -197,7 +200,14 @@ function Comment(props: Props) {
{!author ? (
{__('Anonymous')}
) : (
-
+
)}
{!livestream && (