mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 01:09:33 +08:00
12 lines
208 B
JavaScript
12 lines
208 B
JavaScript
module.exports = {
|
|
reducer: function (perm, user, context, initialState) {
|
|
|
|
// this runs before everything
|
|
if (user.status === 'BANNED') {
|
|
return false;
|
|
}
|
|
|
|
return initialState;
|
|
}
|
|
};
|