aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-call-window.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 8bbc9c391..e4c1b0025 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1536,10 +1536,16 @@ empathy_call_window_stream_error (EmpathyCallWindow *self,
desc = media_stream_error_to_txt (self, code);
if (desc == NULL)
- return;
-
- display_error (self, icon, title, desc);
- g_free (desc);
+ {
+ /* No description, use the error message. That's not great as it's not
+ * localized but it's better than nothing. */
+ display_error (self, icon, title, msg);
+ }
+ else
+ {
+ display_error (self, icon, title, desc);
+ g_free (desc);
+ }
}
static void