mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Adding warning
This commit is contained in:
@@ -228,6 +228,9 @@ export default function auth (state = initialState, action) {
|
||||
redirectUri: action.uri,
|
||||
};
|
||||
case 'APOLLO_SUBSCRIPTION_RESULT':
|
||||
|
||||
// @TODO: These don't work anymore because apollo store has been decoupled
|
||||
|
||||
if (action.operationName === 'UserBanned' && state.user.id === action.variables.user_id) {
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user