mattermost-mobile-upstream/app/actions/remote/entry
Carlos Garcia 462514347e
fetch roles during entry to avoid UI observing inconsistent channel s… (#9873)
* 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
2026-09-22 14:50:35 +02:00
..
app.test.ts fix: stabilize server switch, saved posts, favorites, and related runtime races (#10122) 2026-09-09 00:35:15 +05:30
app.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
common.test.ts fetch roles during entry to avoid UI observing inconsistent channel s… (#9873) 2026-09-22 14:50:35 +02:00
common.ts fetch roles during entry to avoid UI observing inconsistent channel s… (#9873) 2026-09-22 14:50:35 +02:00
deferred.test.ts Guard long-running DB chains against RUNNINGBOARD 0xdead10cc on iOS (#10110) 2026-09-02 15:07:34 +08:00
deferred.ts Guard long-running DB chains against RUNNINGBOARD 0xdead10cc on iOS (#10110) 2026-09-02 15:07:34 +08:00
index.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
login.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
notification.test.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
notification.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00