From 66680dac767c5ae06abe306ce4e000041c105751 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 9046b8a9..de98975a 100644 --- a/src/mcd-channel.c +++ b/src/mcd-channel.c @@ -180,7 +180,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