summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-07-02 10:36:22 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2010-07-02 10:36:22 +0100
commitacf960deff1bf8a4120f9c27b1f0fa5273d43748 (patch)
tree0fc2ea94f61078fdf8beaf73ea42f9b4d809a880
parent35700e23f01ec6249b1d050eb67abff796fb74bb (diff)
downloadtelepathy-mission-control-5.2.tar.gz
Treat calls ended locally with No_Answer as missedtelepathy-mission-control-5.2
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.
-rw-r--r--src/mcd-channel.c3
1 files changed, 2 insertions, 1 deletions
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++)
{