mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 17:26:12 +00:00
Refactoring
This commit is contained in:
parent
c54eea8ec6
commit
e05c6dd016
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue