[telepathy-mission-control/master] McdChannel: consider MembersChanged(..., ERROR) to indicate a missed call, even if we were the actor
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Sep 29 12:25:20 PDT 2009
This correctly causes MC to think calls were missed if the streaming
implementation calls Error() on telepathy-gabble >= 0.8.4, for instance
if none of the candidates provided in the signalling actually work.
---
src/mcd-channel.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index ec2e6d3..4c8dd32 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -176,7 +176,9 @@ on_members_changed (TpChannel *proxy, const gchar *message,
}
if (removed && removed->len > 0 &&
- (actor == 0 || (actor != self_handle && actor != conn_self_handle)))
+ (actor == 0 ||
+ reason == TP_CHANNEL_GROUP_CHANGE_REASON_ERROR ||
+ (actor != self_handle && actor != conn_self_handle)))
{
for (i = 0; i < removed->len; i++)
{
--
1.5.6.5
More information about the telepathy-commits
mailing list