src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java
/**
     * Returns <code>true</code> if this chat transport supports message
     * corrections and false otherwise.
     *
     * @return <code>true</code> if this chat transport supports message
     * corrections and false otherwise.
     */
Returns true if this chat transport supports message
corrections and false otherwise.

@return true if this chat transport supports message
corrections and false otherwise.
Returns true if this chat transport supports message corrections and false otherwise . @return true if this chat transport supports message corrections and false otherwise .
public boolean allowsMessageCorrections()
    {
        OperationSetContactCapabilities capOpSet = getProtocolProvider()
                .getOperationSet(OperationSetContactCapabilities.class);
        if (capOpSet != null)
        {
            return capOpSet.getOperationSet(
                    contact, OperationSetMessageCorrection.class) != null;
        }
        else
        {
            return contact.getProtocolProvider().getOperationSet(
                    OperationSetMessageCorrection.class) != null;
        }
    }
public boolean allowsMessageCorrections ( ) { OperationSetContactCapabilities capOpSet = getProtocolProvider ( ) . getOperationSet ( OperationSetContactCapabilities . class ) ; if ( capOpSet != null ) { return capOpSet . getOperationSet ( contact , OperationSetMessageCorrection . class ) != null ; } else { return contact . getProtocolProvider ( ) . getOperationSet ( OperationSetMessageCorrection . class ) != null ; } }
Returns <code>true</code> if this chat transport supports message
 corrections and false otherwise.
Returns <code > true< / code > if this chat transport supports message corrections and false otherwise .