mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +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 {
|
||||
if (link == null) {
|
||||
Uri uri = Uri.parse(unsubscribe);
|
||||
String scheme = uri.getScheme();
|
||||
if ("http".equalsIgnoreCase(scheme) || "https".equalsIgnoreCase(scheme))
|
||||
if (UriHelper.isHyperLink(uri))
|
||||
link = unsubscribe;
|
||||
else {
|
||||
Pattern p =
|
||||
|
|
Loading…
Reference in a new issue