[Telepathy-commits] [telepathy-mission-control/master] Abort channels with no handlers

Alberto Mardegan alberto.mardegan at nokia.com
Fri Nov 7 01:21:40 PST 2008


If no handlers are found, about the channel.
---
 src/mcd-dispatcher.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 412c60d..3cc0a7a 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -781,6 +781,7 @@ start_old_channel_handler (McdDispatcherContext *context)
         _mcd_channel_set_error (channel, mc_error);
 	g_signal_emit_by_name (context->dispatcher, "dispatch-failed", channel,
 			       mc_error);
+        mcd_mission_abort (MCD_MISSION (channel));
         mcd_dispatcher_context_handler_done (context);
     }
     else
-- 
1.5.6.5




More information about the Telepathy-commits mailing list