[Telepathy-commits] [telepathy-mission-control/master] Mark handled channels as dispatched

Alberto Mardegan alberto.mardegan at nokia.com
Tue Mar 17 01:01:06 PDT 2009


When recovering existing channels, mark them as dispatched if they are
currently being handled.
---
 src/mcd-dispatcher.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 11cd76e..ece3dfa 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -3300,6 +3300,8 @@ check_handled_channels (gpointer object, const GError *error,
             {
                 DEBUG ("Channel %s is handled by %s", path, client->name);
                 cr->handled = TRUE;
+                mcd_channel_set_status (cr->channel,
+                                        MCD_CHANNEL_STATUS_DISPATCHED);
                 break;
             }
         }
-- 
1.5.6.5




More information about the telepathy-commits mailing list