mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-19 04:28:08 +00:00
Fix creation chat room for 1 contact
This commit is contained in:
parent
0df1b46409
commit
1e43d0e698
1 changed files with 3 additions and 1 deletions
|
|
@ -398,7 +398,9 @@ public class ChatCreationFragment extends Fragment implements View.OnClickListen
|
|||
if (lpc != null && lpc.getConferenceFactoryUri() != null && !LinphonePreferences.instance().useBasicChatRoomFor1To1()) {
|
||||
mChatRoom = lc.createClientGroupChatRoom(getString(R.string.dummy_group_chat_subject), false);
|
||||
mChatRoom.addListener(mChatRoomCreationListener);
|
||||
mChatRoom.addParticipant(participant);
|
||||
Address participants[] = new Address[1];
|
||||
participants[0] = participant;
|
||||
mChatRoom.addParticipants(participants);
|
||||
} else {
|
||||
chatRoom = lc.getChatRoom(participant);
|
||||
LinphoneActivity.instance().goToChat(chatRoom.getPeerAddress().asStringUriOnly(), mShareInfos);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue