15 #include "taghandler.h"
16 #include "vcardmanager.h"
18 #include <gloox/gloox.h>
20 #include <gloox/tag.h>
21 #include <gloox/vcard.h>
39 static const std::string filter =
"/iq[/iq/vCard[@xmlns='" + gloox::XMLNS_VCARD_TEMP +
"']]";
48 printf(
"received a vcard tag!!!!!!!!!! %s\n", tag->xml().c_str() );
50 gloox::IQ re( gloox::IQ::Result, tag->findAttribute(
"from" ),
51 tag->findAttribute(
"id" ) );
52 re.setFrom( tag->findAttribute(
"to" ) );
53 re.addExtension(
new gloox::VCard() );
54 m_router.handleIncomingTag( re.tag() );