mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
use prefer_basic_chat_room in misc section to create only basic one-to-one
This commit is contained in:
parent
1ee3a6f0d4
commit
718e698ff2
1 changed files with 1 additions and 1 deletions
|
|
@ -878,7 +878,7 @@ static RootViewManager *rootViewManagerInstance = nil;
|
|||
|
||||
- (void)createChatRoomWithSubject:(const char *)subject addresses:(bctbx_list_t *)addresses andWaitView:(UIView *)waitView {
|
||||
if (!linphone_proxy_config_get_conference_factory_uri(linphone_core_get_default_proxy_config(LC))
|
||||
|| ([[LinphoneManager instance] lpConfigBoolForKey:@"prefer_basic_chat_room" withDefault:FALSE] && bctbx_list_size(addresses) == 1)) {
|
||||
|| ([[LinphoneManager instance] lpConfigBoolForKey:@"prefer_basic_chat_room" inSection:@"misc"] && bctbx_list_size(addresses) == 1)) {
|
||||
// If there's no factory uri, create a basic chat room
|
||||
if (bctbx_list_size(addresses) != 1) {
|
||||
// Display Error: unsuported group chat
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue