web-push-libs/web-push-csharp

mailto or url

hannespreishuber opened this issue · 0 comments

why is this this code inside?
and why is title the subject?

if (!subject.StartsWith("mailto:")) { if (!Uri.IsWellFormedUriString(subject, UriKind.Absolute)) { throw new ArgumentException(@"Subject is not a valid URL or mailto address"); } }