From d1d9f8e71d538541f4dee6462975e9792dc8829a Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Wed, 17 Oct 2012 10:50:24 +0200 Subject: [PATCH 1/2] base-call-channel: Ignore transitions with the same state Fixes: https://bugs.freedesktop.org/56044 --- telepathy-glib/base-call-channel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/telepathy-glib/base-call-channel.c b/telepathy-glib/base-call-channel.c index af82ba1..825c42f 100644 --- a/telepathy-glib/base-call-channel.c +++ b/telepathy-glib/base-call-channel.c @@ -791,6 +791,9 @@ tp_base_call_channel_set_state (TpBaseCallChannel *self, self->priv->reason = _tp_base_call_state_reason_new (actor_handle, reason, dbus_reason, message); + if (old_state == state) + return; + if (self->priv->state != TP_CALL_STATE_INITIALISED) self->priv->flags &= ~TP_CALL_FLAG_LOCALLY_RINGING; -- 1.7.12.1