Skip to content

The agent that grows with you

refactor(gateway): run_notifications resolves adapters through the intake/delivery seams

teknium1f740fce3e860
diff --git a/gateway/run_notifications.py b/gateway/run_notifications.py
index 835326f4a52..891c1222e1d 100644
--- a/gateway/run_notifications.py
+++ b/gateway/run_notifications.py
@@ -117,7 +117,7 @@ class GatewayNotificationsMixin:
async def _deliver_platform_notice(self, source, content: str) -> None:
"""Deliver a setup/operational notice using platform-specific privacy rules."""
from gateway.run import _is_slack_ignored_channel
- adapter = self._adapter_for_source(source)
+ adapter = self._delivery_adapter_for(source)
if not adapter:
return
config = getattr(self, "config", None)