diff --git a/include/transport/user.h b/include/transport/user.h index dcf9a9fe4a03b4b6c3cee0a5a95bc43e32c6fded..0ad6693a55abd1101eeced9b784e6a2c7735e960 100644 --- a/include/transport/user.h +++ b/include/transport/user.h @@ -75,6 +75,8 @@ class User { void handleSubscription(Swift::Presence::ref presence); + void handleDiscoInfo(const Swift::JID& jid, boost::shared_ptr info); + time_t &getLastActivity() { return m_lastActivity; } @@ -127,6 +129,7 @@ class User { Swift::Timer::ref m_reconnectTimer; boost::shared_ptr connection; time_t m_lastActivity; + std::map m_legacyCaps; }; }