mattermost-mobile/app
Jesse Hallam e3e4fe245c
Fix direct message screen showing deactivated accounts (#8795)
* Fix direct message screen showing deactivated accounts

Fixes MM-63374. The create direct message screen was showing deactivated accounts in the user list. Fixed by:
1. Setting allow_inactive: false in userSearchFunction when searching profiles
2. Setting active: true in userFetchFunction when fetching profiles
3. Added a test to verify that deactivated users don't appear in the search results

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix test for deactivated users in DM creation screen

Updated the test to properly handle quotation marks that differ between CI and local environments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-04-25 10:22:41 -03:00
..
actions Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
client [MM-63728] Add license load metric to About screen (#8769) 2025-04-17 17:29:47 -03:00
components Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
constants Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
context Update dependencies (#8721) 2025-04-07 09:30:06 +08:00
database Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
helpers Network metrics (#8390) 2024-12-17 19:51:26 +08:00
hooks Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
i18n MM-59761 Add tests for i18n functionality (#8510) 2025-01-31 09:30:42 -05:00
init Biometric prompt, Jailbreak / Root detection and screenshot prevention (#8645) 2025-03-13 14:07:41 -04:00
managers Fix SecurityManager flaky test (#8753) 2025-04-08 20:25:14 +08:00
products/calls Channel banner display (#8735) 2025-04-08 11:15:18 +05:30
queries Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
screens Fix direct message screen showing deactivated accounts (#8795) 2025-04-25 10:22:41 -03:00
store Enforce names for singleton imports (#8639) 2025-02-27 12:46:17 +01:00
utils Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00