1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-16 00:24:52 +02:00
Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/caps
Florian Schmaus 5dd97a363c Introduce CapsVersionAndHash
Entity Capability versions are useless without the information which
hash algorithm was used to calculate those. Right now, only 'sha-1' is
used, but this may change in the feature. This commit makes the first
steps preparing for such a feature.

Also fixes a minor bug:

-        CAPS_CACHE.put(currentCapsVersion, discoverInfo);

currentCapsVersion is not a valid key for the cache, as it does cache
"node + '#' + ver" to disco infos.
2014-12-03 13:01:13 +01:00
..
cache Create smack.util.stringencoder for Base64, Base32,… 2014-09-04 11:07:55 +02:00
packet Remove obsolete comment from CapsExtension 2014-12-02 18:23:16 +01:00
provider Rework Smack Provider design 2014-10-08 16:01:14 +02:00
CapsVersionAndHash.java Introduce CapsVersionAndHash 2014-12-03 13:01:13 +01:00
EntityCapsManager.java Introduce CapsVersionAndHash 2014-12-03 13:01:13 +01:00