mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
add property to use basic chatroom in case of 1-1 chat
This commit is contained in:
parent
05557306aa
commit
9ba81e0383
1 changed files with 2 additions and 1 deletions
|
|
@ -877,7 +877,8 @@ 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))) {
|
||||
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)) {
|
||||
// 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