mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-05 10:28:54 +00:00
* fetch roles during entry to avoid UI observing inconsistent channel states
first time channels are fetched for a team, roles should also be fetched at
the same time instead of only relying in deferred fetch. That avoids having
channels observed by the UI in an inconsistent state and rendering as read
only channels.
During reconnection the non forced entry fetch roles is a no-op since force is
set to false.
* separate fetch roles promise to log errors
* returns not empty models in test
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| app | ||
| local | ||
| remote | ||
| websocket | ||