diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-10-06 00:33:52 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-10-06 00:33:52 +0200 |
commit | b788b84c31bc53feb659e1af4dcaad98396c2de7 (patch) | |
tree | 700da6bfedd14b4d3ab622471f44917bb16e626c /src/eu/siacs/conversations/utils/DNSHelper.java | |
parent | 6b3097ee27ff256afc22b93efec45d84caa2f53d (diff) |
refactored muc bookmark to extend element. keep all elements the server or other clients added before
Diffstat (limited to 'src/eu/siacs/conversations/utils/DNSHelper.java')
-rw-r--r-- | src/eu/siacs/conversations/utils/DNSHelper.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/utils/DNSHelper.java b/src/eu/siacs/conversations/utils/DNSHelper.java index 3952ad04..c51a75ac 100644 --- a/src/eu/siacs/conversations/utils/DNSHelper.java +++ b/src/eu/siacs/conversations/utils/DNSHelper.java @@ -35,7 +35,8 @@ public class DNSHelper { Bundle b = queryDNS(host, ip); if (b.containsKey("name")) { return b; - } else if (b.containsKey("error") && "nosrv".equals(b.getString("error", null))) { + } else if (b.containsKey("error") + && "nosrv".equals(b.getString("error", null))) { return b; } } |