MCPcopy Create free account
hub / github.com/CoderLuii/HolyClaude / normalize_notify_url

Function normalize_notify_url

scripts/notify.py:82–86  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

80
81
82def normalize_notify_url(url):
83 text = url.strip()
84 if LEGACY_TELEGRAM_RE.match(text):
85 return LEGACY_TELEGRAM_RE.sub("tgram://", text, count=1)
86 return text
87
88
89def collect_notify_urls(environ):

Callers 1

collect_notify_urlsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected