Handle unsubscribe email address without scheme

pull/194/merge
M66B 3 years ago
parent 8fd3426ea4
commit 93e7f556ea

@ -1806,7 +1806,9 @@ public class MessageHelper {
Log.w(new Throwable(unsubscribe, ex));
}
}
} else {
} else if (Helper.EMAIL_ADDRESS.matcher(unsubscribe).matches())
mailto = "mailto:" + unsubscribe;
else {
if (link == null) {
Uri uri = Uri.parse(unsubscribe);
String scheme = uri.getScheme();

Loading…
Cancel
Save