diff options
Diffstat (limited to 'Swiften/Disco/CapsManager.cpp')
| -rw-r--r-- | Swiften/Disco/CapsManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Disco/CapsManager.cpp b/Swiften/Disco/CapsManager.cpp index 794cf74..2b8fb7d 100644 --- a/Swiften/Disco/CapsManager.cpp +++ b/Swiften/Disco/CapsManager.cpp | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010-2016 Isode Limited. | 2 | * Copyright (c) 2010-2019 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -53,7 +53,7 @@ void CapsManager::handleDiscoInfoReceived(const JID& from, const std::string& ha | |||
| 53 | requestedDiscoInfos.erase(hash); | 53 | requestedDiscoInfos.erase(hash); |
| 54 | if (error || !discoInfo || CapsInfoGenerator("", crypto).generateCapsInfo(*discoInfo.get()).getVersion() != hash) { | 54 | if (error || !discoInfo || CapsInfoGenerator("", crypto).generateCapsInfo(*discoInfo.get()).getVersion() != hash) { |
| 55 | if (warnOnInvalidHash && !error && discoInfo) { | 55 | if (warnOnInvalidHash && !error && discoInfo) { |
| 56 | SWIFT_LOG(warning) << "Caps from " << from.toString() << " do not verify" << std::endl; | 56 | SWIFT_LOG(warning) << "Caps from " << from.toString() << " do not verify"; |
| 57 | } | 57 | } |
| 58 | failingCaps.insert(std::make_pair(from, hash)); | 58 | failingCaps.insert(std::make_pair(from, hash)); |
| 59 | std::map<std::string, std::set< std::pair<JID, std::string> > >::iterator i = fallbacks.find(hash); | 59 | std::map<std::string, std::set< std::pair<JID, std::string> > >::iterator i = fallbacks.find(hash); |
Swift