From 47d252eb8b35c89e354a4f739367ff53b8e19652 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sat, 21 May 2022 18:26:11 +0200 Subject: [PATCH] sip-origin: Notify on account property updates The UI does not have a chance to react otherwise. --- plugins/sip/calls-sip-origin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index c43f363..347841d 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -883,6 +883,8 @@ setup_nua (CallsSipOrigin *self) self->address = g_strconcat (self->user, "@", self->host, NULL); from_str = g_strconcat (self->protocol_prefix, ":", self->address, NULL); + g_object_notify_by_pspec(G_OBJECT (self), props[PROP_ACC_ADDRESS]); + use_sips = check_sips (from_str); use_ipv6 = check_ipv6 (self->host); @@ -1638,5 +1640,7 @@ calls_sip_origin_set_credentials (CallsSipOrigin *self, self->can_tel = can_tel; + update_name (self); + recreate_sip (self); }