Refactoring: IPInfo

This commit is contained in:
M66B
2019-05-12 18:46:26 +02:00
parent d77997a73b
commit fc480e80b4
3 changed files with 39 additions and 30 deletions

View File

@@ -1968,7 +1968,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
protected String onExecute(Context context, Bundle args) throws Throwable {
Uri uri = args.getParcelable("uri");
String host = uri.getHost();
return (TextUtils.isEmpty(host) ? null : Helper.getOrganization(host));
return (TextUtils.isEmpty(host) ? null : IPInfo.getOrganization(host));
}
@Override