Refactoring

pull/215/head
M66B 7 months ago
parent c54eea8ec6
commit e05c6dd016

@ -2937,8 +2937,7 @@ public class MessageHelper {
else { else {
if (link == null) { if (link == null) {
Uri uri = Uri.parse(unsubscribe); Uri uri = Uri.parse(unsubscribe);
String scheme = uri.getScheme(); if (UriHelper.isHyperLink(uri))
if ("http".equalsIgnoreCase(scheme) || "https".equalsIgnoreCase(scheme))
link = unsubscribe; link = unsubscribe;
else { else {
Pattern p = Pattern p =

Loading…
Cancel
Save