diff --git a/src/discoinforesponder.h b/src/discoinforesponder.h index b6cf9e847970a9449f2e4a60b33ea670e442e815..7e3747025456904c260e7ca4c8b165f030710b84 100644 --- a/src/discoinforesponder.h +++ b/src/discoinforesponder.h @@ -40,12 +40,17 @@ class DiscoInfoResponder : public Swift::GetResponder { boost::signal onBuddyCapsInfoChanged; + Swift::CapsInfo &getBuddyCapsInfo() { + return m_capsInfo; + } + private: virtual bool handleGetRequest(const Swift::JID& from, const Swift::JID& to, const std::string& id, boost::shared_ptr payload); Swift::DiscoInfo m_transportInfo; Swift::DiscoInfo m_buddyInfo; Config *m_config; + Swift::CapsInfo m_capsInfo; }; } \ No newline at end of file