mattermost-mobile/app/store
Amit Uttam b3d274b6c7
[MM-24463] Run message retention cleanup off of pre-existing state (#4222)
* MM-24463 Run message retention cleanup off of pre-existing state

Instead of a reconstructed "zero" state.

Only posts in channels, searched posts and flag posts are recalculated (as per data retention policy, if applicable). The rest of state is cloned from existing state.

* Mark hydrationComplete only if _persist state is undefined

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-27 13:39:11 -03:00
..
middlewares [MM-24463] Run message retention cleanup off of pre-existing state (#4222) 2020-04-27 13:39:11 -03:00
ephemeral_store.js MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
helpers.ts MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
index.ts MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
initial_state.js MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
mmkv_adapter.ts MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
store.ts MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
utils.js Automated cherry pick of #4225 (#4228) 2020-04-24 11:17:07 -07:00
utils.test.js Automated cherry pick of #4225 (#4228) 2020-04-24 11:17:07 -07:00