mirror of
https://github.com/wassname/talk.git
synced 2026-08-15 12:55:10 +08:00
Switching rejected usernames from suspended to banned.
This commit is contained in:
@@ -118,7 +118,7 @@ const mapDispatchToProps = dispatch => {
|
||||
userStatusUpdate: (status, userId, commentId) => dispatch(userStatusUpdate(status, userId, commentId)).then(() => {
|
||||
dispatch(fetchModerationQueueComments());
|
||||
}),
|
||||
suspendUser: (userId, subject, text) => dispatch(userStatusUpdate('suspended', userId))
|
||||
suspendUser: (userId, subject, text) => dispatch(userStatusUpdate('BANNED', userId))
|
||||
.then(() => dispatch(sendNotificationEmail(userId, subject, text)))
|
||||
.then(() => dispatch(fetchModerationQueueComments()))
|
||||
,
|
||||
|
||||
Reference in New Issue
Block a user