mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-09-19 09:55:26 +00:00
sip: Don't drop errors when recreating sip account
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/737>
This commit is contained in:
parent
13ebabfadb
commit
17325b3104
1 changed files with 6 additions and 2 deletions
|
@ -1267,8 +1267,12 @@ deinit_sip_account (CallsSipOrigin *self)
|
||||||
static void
|
static void
|
||||||
recreate_sip (CallsSipOrigin *self)
|
recreate_sip (CallsSipOrigin *self)
|
||||||
{
|
{
|
||||||
if (deinit_sip_account (self))
|
if (deinit_sip_account (self)) {
|
||||||
init_sip_account (self, NULL);
|
g_autoptr (GError) err = NULL;
|
||||||
|
|
||||||
|
if (!init_sip_account (self, &err))
|
||||||
|
g_warning ("Failed to re-init sip account: %s", err->message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue