src/net/java/sip/communicator/impl/protocol/jabber/OperationSetAutoAnswerJabberImpl.java
/**
     * Saves values to account properties.
     */
Saves values to account properties.
Saves values to account properties .
@Override
    protected void save()
    {
        AccountID acc = protocolProvider.getAccountID();
        Map<String, String> accProps = acc.getAccountProperties();
        accProps.put(AUTO_ANSWER_UNCOND_PROP, null);
        if(answerUnconditional)
            accProps.put(AUTO_ANSWER_UNCOND_PROP, Boolean.TRUE.toString());
        accProps.put(AUTO_ANSWER_WITH_VIDEO_PROP,
                Boolean.toString(this.answerWithVideo));
        acc.setAccountProperties(accProps);
        JabberActivator.getProtocolProviderFactory().storeAccount(acc);
    }
@ Override protected void save ( ) { AccountID acc = protocolProvider . getAccountID ( ) ; Map < String , String > accProps = acc . getAccountProperties ( ) ; accProps . put ( AUTO_ANSWER_UNCOND_PROP , null ) ; if ( answerUnconditional ) accProps . put ( AUTO_ANSWER_UNCOND_PROP , Boolean . TRUE . toString ( ) ) ; accProps . put ( AUTO_ANSWER_WITH_VIDEO_PROP , Boolean . toString ( this . answerWithVideo ) ) ; acc . setAccountProperties ( accProps ) ; JabberActivator . getProtocolProviderFactory ( ) . storeAccount ( acc ) ; }
Saves values to account properties.
Saves values to account properties .
// lets clear anything before saving :)