[telepathy-mission-control/master] Don't close Tubes channels if undispatchable
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Sep 7 06:13:07 PDT 2009
This implicitly closes every Tube in the channel too, which isn't useful.
---
src/mcd-channel.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index 0cff0c9..5e85fc0 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -308,6 +308,12 @@ _mcd_channel_undispatchable (McdChannel *channel)
return;
}
+ if (channel_type == TP_IFACE_QUARK_CHANNEL_TYPE_TUBES)
+ {
+ DEBUG ("%p is an old Tubes channel, not closing", channel);
+ return;
+ }
+
DEBUG ("%p: %s", channel, mcd_channel_get_object_path (channel));
/* Call Destroy() if possible, or Close() */
--
1.5.6.5
More information about the telepathy-commits
mailing list