1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

sipjreen: handle invisible peers correctly

This commit is contained in:
Dominik Schmidt 2011-05-04 21:35:19 +02:00
parent 40c3196a4f
commit 4638b7c21a

View File

@ -48,7 +48,6 @@ void TomahawkSipMessageFactory::handleStartElement(const QStringRef &name, const
m_uniqname = attributes.value(QLatin1String("uniqname")).toString();
m_key = attributes.value(QLatin1String("pwd")).toString();
m_visible = true;
}
} else if(m_depth == 3) {
if (name == QLatin1String("candidate"))
@ -58,6 +57,7 @@ void TomahawkSipMessageFactory::handleStartElement(const QStringRef &name, const
m_ip = attributes.value(QLatin1String("ip")).toString();
m_port = attributes.value(QLatin1String("port")).toString().toInt();
m_visible = true;
}
}
Q_UNUSED(uri);