1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-13 07:04:52 +02:00
Smack/smack-extensions/src
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
..
integration-test/java/org/jivesoftware/smackx Rename 'serviceName' to 'xmppServiceDomain' 2015-05-19 09:26:59 +02:00
main Add support for "Caps Optimizations" 2016-06-30 17:01:46 +02:00
test Improve the Message Correction 2016-04-14 22:47:12 +02:00