mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Extended ipinfo
This commit is contained in:
@@ -324,9 +324,8 @@ public class ActivityDmarc extends ActivityBase {
|
||||
|
||||
try {
|
||||
InetAddress addr = InetAddress.getByName(text);
|
||||
IPInfo.Organization info =
|
||||
IPInfo.getOrganization(addr, context);
|
||||
ssb.append('(').append(info.name).append(") ");
|
||||
IPInfo info = IPInfo.getOrganization(addr, context);
|
||||
ssb.append('(').append(info.org).append(") ");
|
||||
} catch (Throwable ex) {
|
||||
Log.w(ex);
|
||||
ssb.append(ex.toString()).append('\n');
|
||||
|
||||
Reference in New Issue
Block a user