mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.26k stars 1.37k forks source link

fix entry logic to not re-fetch data for the initial team #8349

Closed enahum closed 6 days ago

enahum commented 1 week ago

Summary

We made some improvements to the performance of login here https://github.com/mattermost/mattermost-mobile/pull/8306 but there were two bugs that are fixed in this PR.

  1. We were requesting channels, posts and others for the initial team even though we already have that data.
  2. The exclusion of threads in DMs was checking for version 10.2.0 which is wrong, that PR just landed in master, so for the time being we just dedupe the models.

Ticket Link

N/A

Release Note

NONE
mattermost-build commented 6 days ago

Cherry pick is scheduled.