mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Handle unsubscribe email address without scheme
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user