Commit a60dcc80 authored by Andrea Gianarda's avatar Andrea Gianarda
Browse files

Recover from chat room duplication in the database.

When starting the core, make sure that there is not other chatroom
already retrieved that has the same conference id when the gr parameter
is ignored on the peer and local address. If so, then keep the one that
has the oldest creation time and replace it by the value stored in the
other.
All events linked to the to-be-deleted chat room generated before chat room creation time are moved as
they now belong to the kept chat room. The other events are simply
deleted because they are linked ot both chatrooms.

Split suite "Local conference tester (Chat)" into "Local conference tester (Chat Basic)" and "Local conference tester (Chat Advanced)"
parent ec634aad
master compat/ios_app_5_3 deleteme feature/AEC3 feature/account_manager_services_devices_list feature/allow-raw-mwi-notification feature/audio-conference-package feature/basic_auth feature/conference_availability feature/java-wrapper-tests feature/lime_status_by_uri feature/load-static-ms2-plugins feature/media_encryption_settings_on_account feature/medialess feature/screensharing_clean feature/screensharing_packet_router feature/screensharing_signalling feature/swift_push_unit_tests feature/test-new-ccmp-deployment feature/to-delete-compile-last-wrapper fix/ECC-for-desktop fix/account_guess fix/android_window fix/audio_routes fix/auth_info_finding fix/broadcast_flexisip fix/call_history_after_core_stop fix/chat_lesage_local_address_no_contact fix/conf_unschedule_video fix/conference_called_after_joining_5_3 fix/copy_message_id_content_operator fix/database fix/db_friend_list_fix fix/didUpdatePushCredentials_debug_investigation fix/encrypted_chat_subscription_failed fix/fec-find-payload-type-number-master fix/force_shared_lib_python_wrapper fix/gcc_14 fix/import-from-legacy-db fix/ios_foreground_push_incoming_received fix/ios_registerforpush_on_core_start_5_4 fix/itc-misuse fix/jvm_cpp_wrapper_on_android fix/message_not_sent_rework fix/no-longer-use-deprecated-findpythoninterp-cmake-module fix/opengl_54 fix/paused_by_remote_no_rtp_timeout_master fix/pdb_5_3 fix/plugin_timeout fix/python_build_macos fix/python_const_build_warning fix/qt_crash fix/relay_ice_candidates_conference_tests fix/remote_address_without_admin_param fix/rtt_message fix/screen_jul fix/srtp_key_length fix/startup_restart fix/stream-deletion fix/subject_not_changed fix/switch_data_sync_to_short_service fix/tone-indications fix/transfer_state fix/tunnel-crash-rtp-transport fix/unsubscribe_upon_core_stop fix/uuid4-generation fix/webrtc-ice fix/window_build_dec24 fix/workaround_for_sip_simple_messages_with_bad_to_header hotfix/lime-db-path hotfix/use-negotiated-extension-ids release/5.3 release/5.4 test/ansible test/call_no_routes test/flexisip-release-candidate-2-4 test/lime_double_digest_auth_challenge 5.5.0-alpha 5.4.5 5.4.4 5.4.3 5.4.2 5.4.1 5.4.0 5.4.0-beta 5.4.0-alpha 5.3.110 5.3.107 5.3.106 5.3.105 5.3.104 5.3.103 5.3.102 5.3.101 5.3.100 5.3.99 5.3.97 5.3.96 5.3.95 5.3.94 5.3.93 5.3.92 5.3.91 5.3.90 5.3.89 5.3.88 5.3.87 5.3.86 5.3.85 5.3.84 5.3.83 5.3.81 5.3.79 5.3.78 5.3.77 5.3.76 5.3.75 5.3.74 5.3.73 5.3.72 5.3.71 5.3.70 5.3.69 5.3.68 5.3.67 5.3.66 5.3.65 5.3.64 5.3.63 5.3.62 5.3.61 5.3.60 5.3.59 5.3.58 5.3.57 5.3.56 5.3.55 5.3.54 5.3.53 5.3.52 5.3.51 5.3.50 5.3.49 5.3.48 5.3.46 5.3.45 5.3.44 5.3.43 5.3.42 5.3.41 5.3.40 5.3.39 5.3.38 5.3.37 5.3.36 5.3.35 5.3.34 5.3.33 5.3.32 5.3.30 5.3.29 5.3.28 5.3.27 5.3.26 5.3.25 5.3.24 5.3.23 5.3.22 5.3.21 5.3.19 5.3.18 5.3.17 5.3.16 5.3.15 5.3.14 5.3.13 5.3.12 5.3.11 5.3.10 5.3.9 5.3.8 5.3.7 5.3.6 5.3.5 5.3.4 5.3.3 5.3.2 5.3.1 5.3.0 5.3.0-beta
1 merge request!2740Add test to verify chatroom duplication in the database
Showing with 556 additions and 48 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment