Ring Daemon 16.0.0
|
Functions | |
std::map< std::string, std::string > | initVcard () |
void | removeByKey (std::map< std::string, std::string > &vCard, std::string_view key) |
std::map< std::string, std::string > | toMap (std::string_view content) |
Payload to vCard. | |
std::string | toString (const std::map< std::string, std::string > &vCard) |
std::map< std::string, std::string > vCard::utils::initVcard | ( | ) |
Definition at line 42 of file vcard.cpp.
References vCard::Property::FORMATTED_NAME, vCard::Property::PHOTO_PNG, and vCard::Property::VCARD_VERSION.
Referenced by jami::JamiAccount::updateProfile(), and jami::SIPAccount::updateProfile().
void vCard::utils::removeByKey | ( | std::map< std::string, std::string > & | vCard, |
std::string_view | key | ||
) |
Definition at line 80 of file vcard.cpp.
References jami::starts_with().
Referenced by jami::JamiAccount::updateProfile(), and jami::SIPAccount::updateProfile().
std::map< std::string, std::string > vCard::utils::toMap | ( | std::string_view | content | ) |
Payload to vCard.
content | payload |
Definition at line 25 of file vcard.cpp.
References jami::getline().
Referenced by jami::Account::getProfileVcard(), jami::ConversationRepository::infos(), and jami::ConversationModule::onTrustRequest().
std::string vCard::utils::toString | ( | const std::map< std::string, std::string > & | vCard | ) |
Definition at line 53 of file vcard.cpp.
References vCard::Delimiter::BEGIN_TOKEN, vCard::Delimiter::BEGIN_TOKEN_KEY, vCard::Delimiter::END_LINE_TOKEN, vCard::Delimiter::END_TOKEN, and vCard::Delimiter::END_TOKEN_KEY.
Referenced by jami::JamiAccount::updateProfile(), and jami::SIPAccount::updateProfile().