From 4638b7c21aa03d89b19bbef428480ae727cdb755 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 4 May 2011 21:35:19 +0200 Subject: [PATCH] sipjreen: handle invisible peers correctly --- src/sip/jreen/tomahawksipmessagefactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sip/jreen/tomahawksipmessagefactory.cpp b/src/sip/jreen/tomahawksipmessagefactory.cpp index fbf2d7920..b8cf5742c 100644 --- a/src/sip/jreen/tomahawksipmessagefactory.cpp +++ b/src/sip/jreen/tomahawksipmessagefactory.cpp @@ -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);