mattermost-mobile-upstream/app
Mattermost Build 57980634ea
Some checks failed
ci / test (push) Has been cancelled
ci / lint-typecheck (push) Has been cancelled
ci / detox-lint-typecheck (push) Has been cancelled
fetch roles during entry to avoid UI observing inconsistent channel s… (#9873) (#10226)
* 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 462514347e)

Co-authored-by: Carlos Garcia <carlos.garcia@mattermost.com>
2026-10-07 13:24:03 +00:00
..
actions fetch roles during entry to avoid UI observing inconsistent channel s… (#9873) (#10226) 2026-10-07 13:24:03 +00:00
client Log network failures in REST client and websocket manager (#10074) 2026-09-14 11:33:35 +00:00
components MM-70813 - support multi value attribute chips (#10192) (#10203) 2026-09-30 13:57:29 +03:00
constants MM-70813 - support multi value attribute chips (#10192) (#10203) 2026-09-30 13:57:29 +03:00
context Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
database Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00
helpers Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
hooks Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
i18n Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
init [MM-70525] Fix CallKit call disconnect on lock-screen answer (#10111) 2026-09-08 14:17:56 -04:00
keyboard Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
managers [MM-70866] Explain Android location permission before request (#10194) (#10198) 2026-09-28 05:11:42 +00:00
products Agents: fix stuck tool approvals, add AskUserQuestion, settle streamed replies (#10028) (#10210) 2026-10-02 20:48:13 +00:00
queries MM-70813 - support multi value attribute chips (#10192) (#10203) 2026-09-30 13:57:29 +03:00
routes Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
screens Bring release-2.45 E2E up to main for CMT (#10174 + #10187 merge + #10184) (#10188) 2026-09-22 10:37:35 +03:00
store Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00
utils [MM-71006] Update timezone data to 2026d (#10201) (#10214) 2026-10-05 17:03:01 +03:00