Fix overriding chat token

This commit is contained in:
Alex Gleason 2020-04-17 20:21:30 -05:00
parent bdf648f506
commit fc04e6a718
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -13,7 +13,7 @@ export default function meta(state = initialState, action) {
case ME_FETCH_SUCCESS:
const me = fromJS(action.me);
const pleroPrefs = me.get('pleroma').delete('settings_store');
return state.set('pleroma', pleroPrefs);
return state.mergeIn(['pleroma'], pleroPrefs);
default:
return state;
}