mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fixed issue #2048
This commit is contained in:
parent
74b771373d
commit
b1744ab023
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user