src/net/java/sip/communicator/impl/protocol/jabber/ServerStoredContactListJabberImpl.java
/**
     * Sends the initial presence to server. RFC 6121 says:
     * a client SHOULD request the roster before sending initial presence
     * We extend this and send it after we have dispatched the roster
     */
Sends the initial presence to server. RFC 6121 says:
a client SHOULD request the roster before sending initial presence
We extend this and send it after we have dispatched the roster
Sends the initial presence to server . RFC 6121 says : a client SHOULD request the roster before sending initial presence We extend this and send it after we have dispatched the roster
void sendInitialStatus()
    {
        try
        {
            if(initialStatus != null)
            {
                parentOperationSet.publishPresenceStatus(
                    initialStatus, initialStatusMessage);
            }
            else
            {
                getParentProvider().getConnection()
                        .sendStanza(new Presence(Presence.Type.available));
            }
        }
        catch (OperationFailedException
                | NotConnectedException
                | InterruptedException ex)
        {
            logger.error("Error publishing initial presence", ex);
        }
        initialStatus = null;
        initialStatusMessage = null;
    }
void sendInitialStatus ( ) { try { if ( initialStatus != null ) { parentOperationSet . publishPresenceStatus ( initialStatus , initialStatusMessage ) ; } else { getParentProvider ( ) . getConnection ( ) . sendStanza ( new Presence ( Presence . Type . available ) ) ; } } catch ( OperationFailedException | NotConnectedException | InterruptedException ex ) { logger . error ( "Error publishing initial presence" , ex ) ; } initialStatus = null ; initialStatusMessage = null ; }
Sends the initial presence to server.
Sends the initial presence to server .
// if we have initial status saved use it // clean