File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -779,9 +779,9 @@ block content
779779 if isUploaderOrAdmin || ( user && comment .commenter ._id == user ._id )
780780 a.delete-comment-thread-button ( style ="margin-left:9px;cursor:pointer;" commentId =comment ._id ) Delete
781781
782- if isUploader && ! comment .commenter .isBlocked
782+ if isUploader && ! comment .commenter .isBlocked && ( user && comment . commenter . _id != user . _id )
783783 a.block-user-button ( style ="margin-left:9px;cursor:pointer;" blockedusername =comment .commenter .channelUrl ) Block User
784- if isUploader && comment .commenter .isBlocked
784+ if isUploader && comment .commenter .isBlocked && ( user && comment . commenter . _id != user . _id )
785785 a.unblock-user-button ( style ="margin-left:9px;cursor:pointer;" blockedusername =comment .commenter .channelUrl ) Unblock User
786786
787787
You can’t perform that action at this time.
0 commit comments