rejected usernames should not be able to comment

This commit is contained in:
okbel
2017-12-20 20:13:36 -03:00
parent 483b306e69
commit 4cc35e5b8f
@@ -238,7 +238,7 @@ class Stream extends React.Component {
suspensionUntil &&
new Date(suspensionUntil) > new Date();
const showCommentBox = loggedIn && ((!banned && !temporarilySuspended && !highlightedComment) || keepCommentBox);
const showCommentBox = loggedIn && ((!banned && !temporarilySuspended && !rejectedUsername && !highlightedComment) || keepCommentBox);
const slotProps = {data};
const slotQueryData = {root, asset};