virtual void handleMUCItems( MUCRoom * /*room*/, const Disco::ItemList& items )
 {
   Disco::ItemList::const_iterator it = items.begin();
   for( ; it != items.end(); ++it )
   {
     printf( "%s -- %s is an item here\n", (*it)->jid().full().c_str(), (*it)->name().c_str() );
   }
 }
Exemple #2
0
 virtual void handleFlexibleOfflineMessageHeaders( const Disco::ItemList& headers )
 {
   printf( "FlexOff: %d headers received.\n", headers.size() );
   StringList l;
   l.push_back( "Fdd" );
   l.push_back( (*(headers.begin()))->node() );
   f->fetchMessages( l );
   f->removeMessages( l );
 }