[telepathy-python/master] Set Requested to True in _validate_handle.

Jonny Lamb jonny.lamb at collabora.co.uk
Thu Jul 16 01:49:36 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 src/server/conn.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/server/conn.py b/src/server/conn.py
index cea8c1f..84af503 100644
--- a/src/server/conn.py
+++ b/src/server/conn.py
@@ -470,6 +470,8 @@ class ConnectionInterfaceRequests(
                 # Check the supplied TargetHandle is valid
                 self.check_handle(target_handle_type, target_handle)
 
+        altered_properties[CHANNEL_INTERFACE + '.Requested'] = True
+
         return altered_properties
 
     @dbus.service.method(CONNECTION_INTERFACE_REQUESTS,
@@ -479,8 +481,6 @@ class ConnectionInterfaceRequests(
         type, handle_type, handle = self._check_basic_properties(request)
         props = self._validate_handle(request)
 
-        props[CHANNEL_INTERFACE + '.Requested'] = True
-
         channel = self._channel_manager.channel_for_props(props, signal=False)
 
         # TODO: This shouldn't return properties that can change.
-- 
1.5.6.5




More information about the telepathy-commits mailing list