mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-12 22:20:14 +00:00
Written to test whether observeUser dropped emissions — the suspected cause of the flaky custom-status clear (MM-T4990_4 / MM-T3891), where the database is correctly cleared but the UI keeps showing the status. It disproved that: observeUser and observeCurrentUser both deliver the latest props under sequential writes, 20 rapid successive writes, and a concurrent currentUserId re-emission that forces the inner switchMap to tear down and resubscribe. The custom-status defect is therefore somewhere else, and that is worth keeping recorded. Kept as regression cover because observePostsById exists precisely because someone assumed post reactivity worked and it did not. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| servers | ||