Commit 3d453265 authored by Grigory Fedorov's avatar Grigory Fedorov

ConferenceAddFragment: chat window opened after conference join.

parent febc793d
......@@ -4,9 +4,6 @@ import android.app.Fragment;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
......@@ -113,6 +110,6 @@ public class ConferenceAddFragment extends Fragment {
String password = passwordView.getText().toString();
final boolean join = true;
MUCManager.getInstance().createRoom(account, conferenceJid, nick, password, join);
getActivity().finish();
startActivity(ChatViewer.createSpecificChatIntent(getActivity(), account, conferenceJid));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment