mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 07:32:08 +01:00
Change identity password on changing account password for same tld
This commit is contained in:
@@ -871,6 +871,14 @@ public class Helper {
|
||||
return true;
|
||||
}
|
||||
|
||||
static String getTld(String host) {
|
||||
String[] h = host.split("\\.");
|
||||
if (h.length >= 2)
|
||||
return h[h.length - 2] + "." + h[h.length - 1];
|
||||
else
|
||||
return host;
|
||||
}
|
||||
|
||||
static int getSize(Bundle bundle) {
|
||||
Parcel p = Parcel.obtain();
|
||||
bundle.writeToParcel(p, 0);
|
||||
|
||||
Reference in New Issue
Block a user