src/net/java/sip/communicator/impl/protocol/jabber/ScServiceDiscoveryManager.java
/**
     * We need to call this before creating any xmpp connection to be sure
     * all further communication will carry our identity.
     */
We need to call this before creating any xmpp connection to be sure
all further communication will carry our identity.
We need to call this before creating any xmpp connection to be sure all further communication will carry our identity .
public static void initIdentity()
    {
        String name
            = System.getProperty(
            "sip-communicator.application.name",
            "Jitsi ")
            + System.getProperty("sip-communicator.version","SVN");
        ServiceDiscoveryManager.setDefaultIdentity(
            new DiscoverInfo.Identity("client", name, "pc"));
        EntityCapsManager.setDefaultEntityNode(entityNode);
    }
public static void initIdentity ( ) { String name = System . getProperty ( "sip-communicator.application.name" , "Jitsi " ) + System . getProperty ( "sip-communicator.version" , "SVN" ) ; ServiceDiscoveryManager . setDefaultIdentity ( new DiscoverInfo . Identity ( "client" , name , "pc" ) ) ; EntityCapsManager . setDefaultEntityNode ( entityNode ) ; }
We need to call this before creating any xmpp connection to be sure
 all further communication will carry our identity.
We need to call this before creating any xmpp connection to be sure all further communication will carry our identity .
// we setup supported features no packets are actually sent //during feature registration so we'd better do it here so that //our first presence update would contain a caps with the right //features. // Set the default entity node that // will be used for new EntityCapsManagers.