sip: provider: Don't warn when trying to add account multiple times

A g_debug() will suffice which will let us get rid of g_test_expect_message() to
as we don't need to guard against the warning anymore.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-05-05 20:50:44 +02:00
parent 9c91a33604
commit dde4bd8abf
2 changed files with 2 additions and 3 deletions

View File

@@ -469,7 +469,8 @@ calls_sip_provider_add_origin (CallsSipProvider *self,
g_autofree char *name = NULL;
g_object_get (credentials, "name", &name, NULL);
g_warning ("Cannot add credentials with name '%s' multiple times", name);
/* This could be a INFO level log once we have improved logging */
g_debug ("Cannot add credentials with name '%s' multiple times", name);
return NULL;
}