private void invite() {
    List<Conversation> conversations = xmppConnectionService.getConversations();
    Conversation conversation = null;
    for (Conversation tmpConversation : conversations) {
      if (tmpConversation.getUuid().equals(getIntent().getStringExtra("uuid"))) {
        conversation = tmpConversation;
        break;
      }
      // else if (!tmpConversation.getUuid().equals(
      // getIntent().getStringExtra("uuid"))
      // && ConversationActivity.INVITE_STRING
      // .equalsIgnoreCase("invite")) {
      // conversation = tmpConversation;
      // }

    }
    if (conversation != null) {
      xmppConnectionService.inviteToConference(conversation, selectedContacts);
    }
    finish();
  }