diff --git a/include/transport/buddy.h b/include/transport/buddy.h index 83a64a43eccf350150b7caf5ae71c5fbfda8f04a..fd72891546dc278ef5226a6feacc1d682aeab6aa 100644 --- a/include/transport/buddy.h +++ b/include/transport/buddy.h @@ -129,6 +129,8 @@ class Buddy { /// \return avatar hash or empty string. virtual std::string getIconHash() = 0; + static std::string JIDToLegacyName(const Swift::JID &jid); + private: void generateJID();