From acf960deff1bf8a4120f9c27b1f0fa5273d43748 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Fri, 2 Jul 2010 10:36:22 +0100 Subject: Treat calls ended locally with No_Answer as missed If the actor is the self handle, and the reason is No_Answer, then something on our side (either the CM or some client) decided we weren't going to answer and gave up. From the user's PoV, these calls are missed, so mark them as such. --- src/mcd-channel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mcd-channel.c b/src/mcd-channel.c index 4c8dd322..440d7338 100644 --- a/src/mcd-channel.c +++ b/src/mcd-channel.c @@ -178,7 +178,8 @@ on_members_changed (TpChannel *proxy, const gchar *message, if (removed && removed->len > 0 && (actor == 0 || reason == TP_CHANNEL_GROUP_CHANGE_REASON_ERROR || - (actor != self_handle && actor != conn_self_handle))) + (actor != self_handle && actor != conn_self_handle) || + reason == TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER)) { for (i = 0; i < removed->len; i++) { -- cgit v1.2.1