diff options
Diffstat (limited to 'Swiften/VCards/VCardStorage.cpp')
-rw-r--r-- | Swiften/VCards/VCardStorage.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Swiften/VCards/VCardStorage.cpp b/Swiften/VCards/VCardStorage.cpp index a73e56e..2a4f04c 100644 --- a/Swiften/VCards/VCardStorage.cpp +++ b/Swiften/VCards/VCardStorage.cpp @@ -18,13 +18,13 @@ VCardStorage::~VCardStorage() { } std::string VCardStorage::getPhotoHash(const JID& jid) const { - VCard::ref vCard = getVCard(jid); - if (vCard && !vCard->getPhoto().empty()) { - return Hexify::hexify(crypto->getSHA1Hash(vCard->getPhoto())); - } - else { - return ""; - } + VCard::ref vCard = getVCard(jid); + if (vCard && !vCard->getPhoto().empty()) { + return Hexify::hexify(crypto->getSHA1Hash(vCard->getPhoto())); + } + else { + return ""; + } } } |