diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 24a503c..8a6b010 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1713,6 +1713,7 @@ function extractUserState(rawObj) { if (rawObj && rawObj.version === '0.1' && rawObj.value) { const { subscriptions, + following, tags, blocked, settings, @@ -1720,7 +1721,7 @@ function extractUserState(rawObj) { sharing_3P } = rawObj.value; - return _extends$1({}, subscriptions ? { subscriptions } : {}, tags ? { tags } : {}, blocked ? { blocked } : {}, settings ? { settings } : {}, app_welcome_version ? { app_welcome_version } : {}, sharing_3P ? { sharing_3P } : {}); + return _extends$1({}, subscriptions ? { subscriptions } : {}, following ? { following } : {}, tags ? { tags } : {}, blocked ? { blocked } : {}, settings ? { settings } : {}, app_welcome_version ? { app_welcome_version } : {}, sharing_3P ? { sharing_3P } : {}); } return {}; @@ -1730,6 +1731,7 @@ function doPopulateSharedUserState(sharedSettings) { return dispatch => { const { subscriptions, + following, tags, blocked, settings, @@ -1740,6 +1742,7 @@ function doPopulateSharedUserState(sharedSettings) { type: USER_STATE_POPULATE, data: { subscriptions, + following, tags, blocked, settings, diff --git a/src/redux/actions/sync.js b/src/redux/actions/sync.js index 0cc19f9..43b8a82 100644 --- a/src/redux/actions/sync.js +++ b/src/redux/actions/sync.js @@ -6,6 +6,7 @@ type SharedData = { version: '0.1', value: { subscriptions?: Array, + following?: Array<{ uri: string, notificationsDisabled: boolean }>, tags?: Array, blocked?: Array, settings?: any, @@ -18,6 +19,7 @@ function extractUserState(rawObj: SharedData) { if (rawObj && rawObj.version === '0.1' && rawObj.value) { const { subscriptions, + following, tags, blocked, settings, @@ -27,6 +29,7 @@ function extractUserState(rawObj: SharedData) { return { ...(subscriptions ? { subscriptions } : {}), + ...(following ? { following } : {}), ...(tags ? { tags } : {}), ...(blocked ? { blocked } : {}), ...(settings ? { settings } : {}), @@ -42,6 +45,7 @@ export function doPopulateSharedUserState(sharedSettings: any) { return (dispatch: Dispatch) => { const { subscriptions, + following, tags, blocked, settings, @@ -52,6 +56,7 @@ export function doPopulateSharedUserState(sharedSettings: any) { type: ACTIONS.USER_STATE_POPULATE, data: { subscriptions, + following, tags, blocked, settings,