[empathy/mc5: 149/483] If the requested property is missing, assume we didn't request it



commit 5fcaf2ec834ebd542ee6f434705acdfaf8a05368
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Wed Jul 22 00:00:33 2009 +0100

    If the requested property is missing, assume we didn't request it
    
    MC5 tries to handle channels only signalled by the old NewChannel signal, but
    the Requested property isn't set in that case. Assume that we didn't request it
    in that case

 libempathy/empathy-dispatcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index bce9f76..0b2a74a 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -709,7 +709,7 @@ dispatcher_connection_new_channel_with_properties (
   if (!valid)
     {
       g_message ("%s had an invalid Requested property", object_path);
-      return;
+      requested = FALSE;
     }
 
   dispatcher_connection_new_channel (dispatcher, connection,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]