diff --git a/include/transport/user.h b/include/transport/user.h index e79f165c9b0d9c1bb5984468f1039e8a9c565b5f..1b271dba753b536169edf00aa515174c62349ce6 100644 --- a/include/transport/user.h +++ b/include/transport/user.h @@ -51,6 +51,11 @@ class User { /// \return full JID const Swift::JID &getJID(); + /// Returns full JID which supports particular feature or invalid JID. + /// \param feature disco#info feature. + /// \return full JID which supports particular feature or invalid JID. + Swift::JID getJIDWithFeature(const std::string &feature); + /// Returns UserInfo struct with informations needed to connect the legacy network. /// \return UserInfo struct UserInfo &getUserInfo() { return m_userInfo; }