allow comment blocking on all claims

This commit is contained in:
Sean Yesmunt 2021-04-19 15:02:23 -04:00
parent a841fd6206
commit a4ce82e97f

View file

@ -10,7 +10,6 @@ type Props = {
clearPlayingUri: () => void,
authorUri: string, // full LBRY Channel URI: lbry://@channel#123...
commentId: string, // sha256 digest identifying the comment
claimIsMine: boolean, // if you control the claim which this comment was posted on
commentIsMine: boolean, // if this comment was signed by an owned channel
deleteComment: (string, ?string) => void,
linkedComment?: any,
@ -21,7 +20,6 @@ type Props = {
handleEditComment: () => void,
contentChannelPermanentUrl: any,
activeChannelClaim: ?ChannelClaim,
claimIsMine: boolean,
isTopLevel: boolean,
commentModBlock: (string) => void,
playingUri: ?PlayingUri,
@ -36,7 +34,6 @@ function CommentMenuList(props: Props) {
deleteComment,
blockChannel,
pinComment,
claimIsMine,
clearPlayingUri,
activeChannelClaim,
contentChannelPermanentUrl,
@ -61,10 +58,8 @@ function CommentMenuList(props: Props) {
}
function handleCommentBlock() {
if (claimIsMine) {
commentModBlock(authorUri);
}
}
function handleCommentMute() {
blockChannel(authorUri);