Smack/smack-im/src/test/java/org/jivesoftware/smack/roster
Florian Schmaus d07ed60737 Add support for "Caps Optimizations"
Smack's previous entity caps implementation assumed that an entity lost
its entity caps feature as soon as a presence without caps from that
entity was received. But according to XEP-0115 § 8.4, this is a
perfectly normal optimization technique. We now reset the caps state
after an available presence becomes unavailable.

Also introduce PresenceEventListener, which is required for this
feature.

Also make Roster.preApprove() take a BareJid as argument.

Fixes SMACK-723.
2016-06-30 17:01:46 +02:00
..
rosterstore Rework Roster IQ and DirectoryRosterStore 2015-09-29 22:35:50 +02:00
RosterOfflineTest.java Lint fixes: Remove dead code, etc. 2015-03-24 18:33:47 +01:00
RosterTest.java Bump jxmpp to 0.5.0-alpha5 and change Roster API 2015-06-06 11:16:12 +02:00
RosterVersioningTest.java Bump jxmpp to 0.5.0-alpha5 and change Roster API 2015-06-06 11:16:12 +02:00
SubscriptionPreApprovalTest.java Add support for "Caps Optimizations" 2016-06-30 17:01:46 +02:00