diff options
| author | George Hazan <ghazan@miranda.im> | 2020-03-24 21:39:07 +0300 | 
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2020-03-24 21:39:07 +0300 | 
| commit | 3c4e6bc04580593cd0c83451a99c5bcdcebc2577 (patch) | |
| tree | 1c1f6c41736b13f769cb6d030a83f75ba84a2d58 /protocols/JabberG/src | |
| parent | 5e8c98db452a253d3ecc94f54e12f7afb43f0087 (diff) | |
Jabber: minor fix for restoring caps
Diffstat (limited to 'protocols/JabberG/src')
| -rwxr-xr-x | protocols/JabberG/src/jabber_caps.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_caps.cpp b/protocols/JabberG/src/jabber_caps.cpp index a9db096b77..20c0d42f3e 100755 --- a/protocols/JabberG/src/jabber_caps.cpp +++ b/protocols/JabberG/src/jabber_caps.cpp @@ -651,7 +651,7 @@ void CJabberClientCapsManager::Load()  		}
  		for (auto &ver : node["versions"]) {
 -			std::string szVer = ver["ver"].as_string();
 +			std::string szVer = ver["softver"].as_string();
  			std::string szHash = ver["hash"].as_string();
  			JabberCapsBits jcbCaps = _atoi64(ver["caps"].as_string().c_str());
 @@ -660,7 +660,6 @@ void CJabberClientCapsManager::Load()  			res->SetOs(str2buf(ver["os"].as_string()));
  			res->SetOsVer(str2buf(ver["osver"].as_string()));
  			res->SetSoft(str2buf(ver["soft"].as_string()));
 -			res->SetSoftVer(str2buf(ver["softver"].as_string()));
  			res->SetSoftMir(str2buf(ver["softmir"].as_string()));
  		}
  	}
  | 
