[Telepathy-commits] [telepathy-spec/master] ChannelRequest: Make requests Account-based

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Sep 26 08:21:20 PDT 2008


---
 spec/Channel_Request.xml |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/spec/Channel_Request.xml b/spec/Channel_Request.xml
index 3a8fbd9..ccf2edf 100644
--- a/spec/Channel_Request.xml
+++ b/spec/Channel_Request.xml
@@ -38,21 +38,24 @@
       </tp:rationale>
     </tp:docstring>
 
-    <method name="RequestChannels">
+    <method name="CreateChannelForAccount">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-        <p>Actually request the channels.</p>
+        <p>Request that a new channel is created.</p>
 
         <p>This method SHOULD return immediately; on success, the request
           might still fail, but this will be indicated asynchronously
           by the <tp:member-ref>Failed</tp:member-ref> signal.</p>
+
+        <p>(FIXME: do we want channel requesting to be entirely
+          account-based, or do we want to allow channel requests by
+          Connection too?)</p>
       </tp:docstring>
 
-      <arg direction="in" name="Connection" type="o">
+      <arg direction="in" name="Account" type="o">
         <tp:docstring>
-          The connection to be used, which MUST already have status
-          Connection_Status_Connected. Its well-known bus name can be derived
-          by removing the leading '/' and replacing all subsequent '/'
-          characters with '.', so it does not need to be provided explicitly.
+          The
+            <tp:dbus-ref namespace="org.freedesktop.Telepathy">Account</tp:dbus-ref>
+          for which the new channel is to be created.
         </tp:docstring>
       </arg>
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list