mirror of https://github.com/M66B/FairEmail.git
Merge TXT fragments
This commit is contained in:
parent
6c23d1c8f4
commit
65ce1e2e8f
|
@ -199,6 +199,9 @@ public class DnsHelper {
|
|||
} else if (record instanceof TXTRecord) {
|
||||
TXTRecord txt = (TXTRecord) record;
|
||||
for (Object content : txt.getStrings())
|
||||
if (result.size() > 0)
|
||||
result.get(0).name += ' ' + content.toString();
|
||||
else
|
||||
result.add(new DnsRecord(content.toString(), 0));
|
||||
} else
|
||||
throw new IllegalArgumentException(record.getClass().getName());
|
||||
|
|
Loading…
Reference in New Issue