forked from mirrors/linphone-iphone
update x3dh_server_url server url
This commit is contained in:
parent
cc8f7cded0
commit
6a19fe2f9a
2 changed files with 4 additions and 4 deletions
|
|
@ -162,7 +162,7 @@ static int sorted_history_comparison(LinphoneChatRoom *to_insert, LinphoneChatRo
|
|||
} else {
|
||||
bctbx_list_t *participants = linphone_chat_room_get_participants(cr);
|
||||
LinphoneParticipant *firstParticipant = participants ? (LinphoneParticipant *)participants->data : NULL;
|
||||
const LinphoneAddress *addr = firstParticipant ? linphone_participant_get_address(firstParticipant) : linphone_chat_room_get_peer_address(cr);
|
||||
const LinphoneAddress *addr = firstParticipant ? linphone_participant_get_address(firstParticipant) : peer_address;
|
||||
if (!linphone_address_get_username(addr)) {
|
||||
sorted = sorted->next;
|
||||
continue;
|
||||
|
|
@ -184,8 +184,8 @@ static int sorted_history_comparison(LinphoneChatRoom *to_insert, LinphoneChatRo
|
|||
if (addresses.count >= 4) //send no more data than needed
|
||||
break;
|
||||
sorted = sorted->next;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[defaults setObject:addresses forKey:@"chatrooms"];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ display_filter_auto_rotate=0
|
|||
|
||||
[lime]
|
||||
lime_v2=1
|
||||
x3dh_server_url=http://54.36.232.93:8082/flexisip-account-manager/x3dh-25519.php
|
||||
x3dh_server_url=http://sip-staging.linphone.org:8083/flexisip-account-manager/x3dh-25519.php
|
||||
lime_update_threshold=86400
|
||||
max_nb_device_per_participant=255
|
||||
allow_message_in_unsafe_chatroom=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue