Fixed bug: properly check iq stanza when sending result response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4977 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
297b90c2c8
commit
3a7f56356d
|
@ -1847,7 +1847,7 @@ XmlElement* JBEvent::buildIqResult(bool addTags, XmlElement* child)
|
|||
// Build and send a stanza 'result' from enclosed 'iq' element
|
||||
bool JBEvent::sendIqResult(XmlElement* child)
|
||||
{
|
||||
if (!(m_element && m_stream && !XMPPUtils::isUnprefTag(*m_element,XmlTag::Iq))) {
|
||||
if (!(m_element && m_stream && XMPPUtils::isUnprefTag(*m_element,XmlTag::Iq))) {
|
||||
TelEngine::destruct(child);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue