15 #include "taghandler.h"
16 #include "discomanager.h"
18 #include <gloox/gloox.h>
20 #include <gloox/tag.h>
21 #include <gloox/disco.h>
39 static const std::string filter =
"/iq[/iq/query[@xmlns='" + gloox::XMLNS_DISCO_INFO +
"']]"
40 "|/iq[/iq/query[@xmlns='" + gloox::XMLNS_DISCO_ITEMS +
"']]";
51 gloox::IQ re( gloox::IQ::Result, tag->findAttribute(
"from" ),
52 tag->findAttribute(
"id" ) );
53 re.setFrom( tag->findAttribute(
"to" ) );
54 m_router.handleIncomingTag( re.tag() );