src/net/java/sip/communicator/impl/protocol/jabber/OperationSetPersistentPresenceJabberImpl.java
/**
     * Updates the presence extension to advertise a new photo SHA-1 hash
     * corresponding to the new avatar given in parameter.
     *
     * @param imageBytes The new avatar set for this account.
     */
Updates the presence extension to advertise a new photo SHA-1 hash
corresponding to the new avatar given in parameter.

@param imageBytes The new avatar set for this account.
Updates the presence extension to advertise a new photo SHA - 1 hash corresponding to the new avatar given in parameter . @param imageBytes The new avatar set for this account .
public void updateAccountPhotoPresenceExtension(byte[] imageBytes)
    {
        try
        {
            if(this.vCardTempXUpdatePresenceExtension.updateImage(imageBytes))
            {
                this.publishPresenceStatus(currentStatus, currentStatusMessage);
            }
        }
        catch(OperationFailedException ex)
        {
            logger.info(
                    "Can not send presence extension to broadcast photo update",
                    ex);
        }
    }
public void updateAccountPhotoPresenceExtension ( byte [ ] imageBytes ) { try { if ( this . vCardTempXUpdatePresenceExtension . updateImage ( imageBytes ) ) { this . publishPresenceStatus ( currentStatus , currentStatusMessage ) ; } } catch ( OperationFailedException ex ) { logger . info ( "Can not send presence extension to broadcast photo update" , ex ) ; } }
Updates the presence extension to advertise a new photo SHA-1 hash
 corresponding to the new avatar given in parameter.
Updates the presence extension to advertise a new photo SHA - 1 hash corresponding to the new avatar given in parameter .
// If the image has changed, then updates the presence extension and // send immediately a presence packet to advertise the photo update.