From 718e698ff248d0dec5e1087e7051014fe81dc795 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Fri, 27 Apr 2018 10:39:03 +0200 Subject: [PATCH] use prefer_basic_chat_room in misc section to create only basic one-to-one --- Classes/PhoneMainView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PhoneMainView.m b/Classes/PhoneMainView.m index b1c789c4a..282bcf085 100644 --- a/Classes/PhoneMainView.m +++ b/Classes/PhoneMainView.m @@ -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