src/net/java/sip/communicator/impl/protocol/jabber/OperationSetContactCapabilitiesJabberImpl.java
/**
     * Removes the capabilities when the user goes offline.
     *
     * @param evt the <tt>ContactPresenceStatusChangeEvent</tt> that notified
     * us
     */
Removes the capabilities when the user goes offline.
@param evt the ContactPresenceStatusChangeEvent that notified
us
Removes the capabilities when the user goes offline . @param evt the ContactPresenceStatusChangeEvent that notified us
@Override
    public void contactPresenceStatusChanged(
        ContactPresenceStatusChangeEvent evt)
    {
        if (discoveryManager != null
            && evt.getNewStatus().getStatus() < PresenceStatus.ONLINE_THRESHOLD
            && !evt.isResourceChanged())
        {
            discoveryManager.removeContactCapsNode(evt.getSourceContact());
        }
    }
@ Override public void contactPresenceStatusChanged ( ContactPresenceStatusChangeEvent evt ) { if ( discoveryManager != null && evt . getNewStatus ( ) . getStatus ( ) < PresenceStatus . ONLINE_THRESHOLD && ! evt . isResourceChanged ( ) ) { discoveryManager . removeContactCapsNode ( evt . getSourceContact ( ) ) ; } }
Removes the capabilities when the user goes offline.
Removes the capabilities when the user goes offline .
// If the user goes offline we ensure to remove the caps node.