diff options
Diffstat (limited to 'Swiften/VCards/VCardManager.cpp')
-rw-r--r-- | Swiften/VCards/VCardManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/VCards/VCardManager.cpp b/Swiften/VCards/VCardManager.cpp index 628f4c8..673b937 100644 --- a/Swiften/VCards/VCardManager.cpp +++ b/Swiften/VCards/VCardManager.cpp @@ -17,6 +17,10 @@ namespace Swift { VCardManager::VCardManager(const JID& ownJID, IQRouter* iqRouter, VCardStorage* vcardStorage) : ownJID(ownJID), iqRouter(iqRouter), storage(vcardStorage) { } +VCard::ref VCardManager::getVCard(const JID& jid) const { + return storage->getVCard(jid); +} + VCard::ref VCardManager::getVCardAndRequestWhenNeeded(const JID& jid) { VCard::ref vcard = storage->getVCard(jid); if (!vcard) { |