src/net/java/sip/communicator/impl/muc/MUCServiceImpl.java
/**
     * Called to accept an incoming invitation. Adds the invitation chat room
     * to the list of chat rooms and joins it.
     *
     * @param invitation the invitation to accept.
     */
Called to accept an incoming invitation. Adds the invitation chat room
to the list of chat rooms and joins it.

@param invitation the invitation to accept.
Called to accept an incoming invitation . Adds the invitation chat room to the list of chat rooms and joins it . @param invitation the invitation to accept .
public void acceptInvitation(ChatRoomInvitation invitation)
    {
        ChatRoom chatRoom = invitation.getTargetChatRoom();
        byte[] password = invitation.getChatRoomPassword();
        String nickName =
            ConfigurationUtils.getChatRoomProperty(
                chatRoom.getParentProvider(),
                chatRoom.getIdentifier(), "userNickName");
        if(nickName == null)
        {
            String[] joinOptions = ChatRoomJoinOptionsDialog.getJoinOptions(
                true,
                chatRoom.getParentProvider(),
                chatRoom.getIdentifier(),
                MUCActivator.getGlobalDisplayDetailsService()
                    .getDisplayName(chatRoom.getParentProvider()));
            nickName = joinOptions[0];
        }
        joinChatRoom(chatRoom, nickName, password);
    }
public void acceptInvitation ( ChatRoomInvitation invitation ) { ChatRoom chatRoom = invitation . getTargetChatRoom ( ) ; byte [ ] password = invitation . getChatRoomPassword ( ) ; String nickName = ConfigurationUtils . getChatRoomProperty ( chatRoom . getParentProvider ( ) , chatRoom . getIdentifier ( ) , "userNickName" ) ; if ( nickName == null ) { String [ ] joinOptions = ChatRoomJoinOptionsDialog . getJoinOptions ( true , chatRoom . getParentProvider ( ) , chatRoom . getIdentifier ( ) , MUCActivator . getGlobalDisplayDetailsService ( ) . getDisplayName ( chatRoom . getParentProvider ( ) ) ) ; nickName = joinOptions [ 0 ] ; } joinChatRoom ( chatRoom , nickName , password ) ; }
Called to accept an incoming invitation.
Called to accept an incoming invitation .