mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
Banned User Stream
This commit is contained in:
@@ -212,8 +212,8 @@ class Stream extends React.Component {
|
||||
const {keepCommentBox} = this.state;
|
||||
const open = !asset.isClosed;
|
||||
|
||||
const banned = user && user.status === 'BANNED';
|
||||
const pending = user && user.status === 'PENDING';
|
||||
const banned = user && user.status.banned;
|
||||
const pending = user && user.status.username.status === 'CHANGED' || user.status.username.status === 'SET';
|
||||
|
||||
const temporarilySuspended =
|
||||
user &&
|
||||
|
||||
Reference in New Issue
Block a user