Added max. TLS to provider profiles

This commit is contained in:
M66B
2022-11-15 18:15:53 +01:00
parent b901fde5f2
commit df92814dcb
3 changed files with 24 additions and 2 deletions

View File

@@ -88,6 +88,7 @@ public class EmailProvider implements Parcelable {
public boolean partial;
public boolean useip;
public boolean appPassword;
public String maxtls;
public String link;
public Server imap = new Server();
public Server smtp = new Server();
@@ -241,6 +242,7 @@ public class EmailProvider implements Parcelable {
provider.partial = getAttributeBooleanValue(xml, "partial", true);
provider.useip = getAttributeBooleanValue(xml, "useip", true);
provider.appPassword = getAttributeBooleanValue(xml, "appPassword", false);
provider.maxtls = xml.getAttributeValue(null, "maxtls");
provider.link = xml.getAttributeValue(null, "link");
String documentation = xml.getAttributeValue(null, "documentation");