mattermost-mobile/app/store/middlewares
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
..
helpers.js [MM-24463] Run message retention cleanup off of pre-existing state (#4222) 2020-04-27 13:39:11 -03:00
index.ts MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
ios_extension.js MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
message_retention.js [MM-24463] Run message retention cleanup off of pre-existing state (#4222) 2020-04-27 13:39:11 -03:00
middleware.test.js [MM-24426] [MM-24451] Set previous app version in redux store (#4197) (#4219) 2020-04-23 12:56:26 -03:00
sentry.js MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00
thunk.js MM-23848 consolidate store, upgrade mmkv and fix logout (#4145) 2020-04-18 10:18:24 -04:00