1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-29 15:25:24 +00:00

sip: origin: Notify on state change

The account state has G_EXPLICIT_NOTIFY but we did never notified.
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-05-19 20:02:23 +02:00
parent 59c06aef44
commit 0605582fc7

View file

@ -151,6 +151,8 @@ change_state (CallsSipOrigin *self,
old_state = self->state;
self->state = new_state;
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_ACC_STATE]);
g_signal_emit_by_name (self, "account-state-changed", old_state, new_state, reason);
calls_account_emit_message_for_state_change (CALLS_ACCOUNT (self), new_state, reason);
}