Пример #1
0
 virtual void handleSelfPresence( const RosterItem& item, const std::string& resource,
                                    Presence::PresenceType presence, const std::string& /*msg*/ )
 {
   printf( "self presence received: %s/%s -- %d\n", item.jidJID().full().c_str(), resource.c_str(), presence );
 }