diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2010-07-02 10:36:22 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2010-07-02 11:15:30 +0100 |
commit | 66680dac767c5ae06abe306ce4e000041c105751 (patch) | |
tree | 25be3d9437e2824890aaabdef48c072abf6ae0f6 | |
parent | 386accfd4645ede0743dc5500fe09a350d3dff68 (diff) | |
download | telepathy-mission-control-66680dac767c5ae06abe306ce4e000041c105751.tar.gz |
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.
-rw-r--r-- | src/mcd-channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
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++) { |