1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
Impyy 2015-08-03 16:09:19 +02:00
parent 74b771373d
commit b1744ab023

View File

@ -287,6 +287,8 @@ ToxId ToxDNS::resolveToxAddress(const QString &address, bool silent)
QByteArray pubkey = fetchLastTextRecord("_tox."+servname, true);
if (!pubkey.isEmpty())
{
pubkey = QByteArray::fromHex(pubkey);
QByteArray servnameData = servname.toUtf8();
ToxDNS::tox3_server server;
server.name = servnameData.data();