Skip to content
Snippets Groups Projects
Commit 41c7a67e authored by pierre-luc's avatar pierre-luc
Browse files

[#2026] keyExchange was set to ZRTP instead of "1"

when using the assistant.
parent 969e7af2
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ static void sip_apply_callback( void ) { ...@@ -141,7 +141,7 @@ static void sip_apply_callback( void ) {
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(wiz->zrtp_enable)) == TRUE) { if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(wiz->zrtp_enable)) == TRUE) {
g_hash_table_insert(current->properties, g_strdup(ACCOUNT_SRTP_ENABLED), g_strdup((gchar *)"TRUE")); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_SRTP_ENABLED), g_strdup((gchar *)"TRUE"));
g_hash_table_insert(current->properties, g_strdup(ACCOUNT_KEY_EXCHANGE), g_strdup((gchar *)"ZRTP")); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_KEY_EXCHANGE), g_strdup((gchar *)"1"));
g_hash_table_insert(current->properties, g_strdup(ACCOUNT_ZRTP_DISPLAY_SAS), g_strdup((gchar *)"TRUE")); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_ZRTP_DISPLAY_SAS), g_strdup((gchar *)"TRUE"));
g_hash_table_insert(current->properties, g_strdup(ACCOUNT_ZRTP_NOT_SUPP_WARNING), g_strdup((gchar *)"TRUE")); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_ZRTP_NOT_SUPP_WARNING), g_strdup((gchar *)"TRUE"));
g_hash_table_insert(current->properties, g_strdup(ACCOUNT_ZRTP_HELLO_HASH), g_strdup((gchar *)"TRUE")); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_ZRTP_HELLO_HASH), g_strdup((gchar *)"TRUE"));
......
...@@ -141,6 +141,7 @@ namespace sfl { ...@@ -141,6 +141,7 @@ namespace sfl {
ost::MutexLock mutex(_audioRtpThreadMutex); ost::MutexLock mutex(_audioRtpThreadMutex);
_debug("Stopping audio rtp session\n"); _debug("Stopping audio rtp session\n");
if (_rtpSession == NULL) { if (_rtpSession == NULL) {
_debugException("_rtpSession is null\n");
throw AudioRtpFactoryException(); throw AudioRtpFactoryException();
} }
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment