mattermost-mobile-upstream/app/utils/notification
Claude 96b7886500
Keep conversations hidden from push notifications while DM/GM read is denied
A push without a team is for a direct or group message. While
dm_gm_read_access is denied:
- the in-app banner isn't shown;
- a background push isn't stored;
- tapping one, from a running app or a cold start, shows "You do not
  currently have access to direct and group messages." instead of
  opening it; the cold start still connects the websocket.

A DM/GM read 403 while fetching the notification's channel records the
denial and shows the same message.

Native notification receipts are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y8zZ6swdpcLxJTgxH14DDD
2026-10-11 13:05:56 +00:00
..
index.test.ts Keep conversations hidden from push notifications while DM/GM read is denied 2026-10-11 13:05:56 +00:00
index.ts Keep conversations hidden from push notifications while DM/GM read is denied 2026-10-11 13:05:56 +00:00