fix: a removed webhook carried over from before v0.11 stays removed (#33295)

This commit is contained in:
G30 2026-10-28 13:22:02 -04:00 • committed by GitHub
parent ff53208e86
commit 0ac55c8e72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,7 +109,7 @@ async def _load_notifications(user_id: str) -> dict[str, Any]:
).strip()
if not isinstance(targets, list) or not targets:
if legacy_url:
if legacy_url and not notifications.get('legacy_notification_events_migrated'):
target = _normalize_target(
{
'id': DEFAULT_TARGET_ID,