- Ya
- 4 Septemba 2026, 19:22 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 5455168
EmailService raises the notification off IMAP IDLE and asks MediaService to deliver it through the internal dispatch endpoint that exists for exactly this — event flows that do not terminate here. EMAIL is an ordinary push: collapsed, rate limited, presence gated, delivered late rather than dropped. Separately, and the larger fix: no sender has ever put orgId into a push's DATA. The mobile app keeps every org a member belongs to live at once and switches to data.orgId before following a deep link, so that branch has never once run — a multi-org member tapping a chat or SMS notification opened it under whichever org happened to be on screen. The dispatcher stamps it now, which is the one place the org is already resolved and therefore fixes every push type at once. putIfAbsent, not put: a push about an event in a different org from the member row's own — a support session, an operator acting across tenants — knows better than this resolution does.