Fix issue #397
This commit is contained in:
parent
82be9f0bc7
commit
c43fe3ef3e
|
@ -666,8 +666,13 @@ public class Helper {
|
|||
InetAddress ipAddr = InetAddress.getByName(instance);
|
||||
return !ipAddr.toString().equals("");
|
||||
} catch (Exception e) {
|
||||
try {
|
||||
InetAddress ipAddr = InetAddress.getByName("mastodon.social");
|
||||
return !ipAddr.toString().equals("");
|
||||
} catch (Exception ex) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue