sip-origin: Notify on account property updates
The UI does not have a chance to react otherwise.
This commit is contained in:
@@ -883,6 +883,8 @@ setup_nua (CallsSipOrigin *self)
|
|||||||
self->address = g_strconcat (self->user, "@", self->host, NULL);
|
self->address = g_strconcat (self->user, "@", self->host, NULL);
|
||||||
from_str = g_strconcat (self->protocol_prefix, ":", self->address, 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_sips = check_sips (from_str);
|
||||||
use_ipv6 = check_ipv6 (self->host);
|
use_ipv6 = check_ipv6 (self->host);
|
||||||
|
|
||||||
@@ -1638,5 +1640,7 @@ calls_sip_origin_set_credentials (CallsSipOrigin *self,
|
|||||||
|
|
||||||
self->can_tel = can_tel;
|
self->can_tel = can_tel;
|
||||||
|
|
||||||
|
update_name (self);
|
||||||
|
|
||||||
recreate_sip (self);
|
recreate_sip (self);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user