mattermost-mobile/app/database
Elias Nahum 75ed884e65
Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433)
* Add column last_fetched_at to MyChannel & Thread tables and the migration

* Fix schema tests

* Handle lastFetchAt, retrieve threads on init and properly observe thread unreads (#6436)

* [Gekidou] Set lastFetchAt when fetching posts for a channel (#6437)

* Set lastFetchAt when fetching posts for a channel

* When resetting _preparedState set always to null

* Revert changes in WS

* Handle and set lastFetchedAt for MyChannel in iOS push notification

* feedback review

* iOS fallback to last post createAt if no lastFetchAt set

* Handle lastFetchAt on Android push notifications

* create storePostsForChannel local action

* Fix iOS fallback to last post create_at

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2022-06-29 13:28:50 -04:00
..
components Gekidou servers (#5960) 2022-02-14 16:39:29 -03:00
exceptions [Gekidou] operator handlers improvements (#6136) 2022-04-07 09:17:57 -04:00
manager Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433) 2022-06-29 13:28:50 -04:00
migration Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433) 2022-06-29 13:28:50 -04:00
models Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433) 2022-06-29 13:28:50 -04:00
operator Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433) 2022-06-29 13:28:50 -04:00
schema Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433) 2022-06-29 13:28:50 -04:00
subscription Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433) 2022-06-29 13:28:50 -04:00