Fixed group chat room creation if rc prefer basic chat room setttings is set
This commit is contained in:
parent
14724c3cc3
commit
33e06cf9d3
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ public class ChatCreationFragment extends Fragment implements View.OnClickListen
|
|||
ContactAddress ca = mSearchAdapter.getContacts().get(i);
|
||||
Core lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
ProxyConfig lpc = lc.getDefaultProxyConfig();
|
||||
if (lpc == null || lpc.getConferenceFactoryUri() == null || LinphonePreferences.instance().useBasicChatRoomFor1To1()) {
|
||||
if (lpc == null || lpc.getConferenceFactoryUri() == null) {
|
||||
ChatRoom chatRoom = lc.getChatRoom(ca.getAddress());
|
||||
LinphoneActivity.instance().goToChat(chatRoom.getPeerAddress().asStringUriOnly());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue