diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-09-07 14:13:07 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-09-07 17:01:03 +0100 |
commit | 17ffc6b3c5643f1bdd1bd6a1b3e118b2db44fd45 (patch) | |
tree | 185456451a4b02d203b156bf38255e2388771305 /src/mcd-channel.c | |
parent | e5c70d5e3a845d4fd6cbf02b5be0aced9097c0b3 (diff) | |
download | telepathy-mission-control-17ffc6b3c5643f1bdd1bd6a1b3e118b2db44fd45.tar.gz |
Don't close Tubes channels if undispatchable
This implicitly closes every Tube in the channel too, which isn't useful.
Diffstat (limited to 'src/mcd-channel.c')
-rw-r--r-- | 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 0cff0c9c..5e85fc0e 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() */ |