13 #include "messagesession.h"
14 #include "messagefilter.h"
15 #include "messagehandler.h"
16 #include "clientbase.h"
25 : m_parent( parent ), m_target( jid ), m_messageHandler( 0 ),
26 m_types( types ), m_wantResourceTracking( wantResourceTracking ), m_hadMessages( false ), m_honorThreadID( honorTID )
47 m_thread =
"gloox" + m_parent->
getID();
54 MessageFilterList::const_iterator it = m_messageFilterList.begin();
55 for( ; it != m_messageFilterList.end(); ++it )
58 if( m_messageHandler )
71 m_thread =
"gloox" + m_parent->
getID();
81 StanzaExtensionList::const_iterator it = sel.begin();
82 for( ; it != sel.end(); ++it )
83 m.addExtension( (*it));
91 m_parent->
send( msg );
94 void MessageSession::decorate(
Message& msg )
104 void MessageSession::setResource(
const std::string& resource )