From 0605582fc7f5cc6292343770dc138435d2a11a13 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Thu, 19 May 2022 20:02:23 +0200 Subject: [PATCH] sip: origin: Notify on state change The account state has G_EXPLICIT_NOTIFY but we did never notified. --- plugins/sip/calls-sip-origin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 7cb9444..b818fa5 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -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); }