[Telepathy-commits] [telepathy-spec/master] Connection, Connection.Interface.Requests: add NotCapable error

Senko Rasic senko.rasic at collabora.co.uk
Tue Jan 27 11:07:44 PST 2009


---
 spec/Connection.xml                    |    6 ++++++
 spec/Connection_Interface_Requests.xml |    8 ++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/spec/Connection.xml b/spec/Connection.xml
index c470dd5..84f54a7 100644
--- a/spec/Connection.xml
+++ b/spec/Connection.xml
@@ -492,6 +492,12 @@ USA.</p>
             The requested channel type cannot be created with the given handle
           </tp:docstring>
         </tp:error>
+        <tp:error name="org.freedesktop.Telepathy.Error.NotCapable">
+          <tp:docstring>
+            The requested channel cannot be created because contact doesn't
+            have the required capabilities.
+          </tp:docstring>
+        </tp:error>
         <tp:error name="org.freedesktop.Telepathy.Error.Channel.Banned"/>
         <tp:error name="org.freedesktop.Telepathy.Error.Channel.Full"/>
         <tp:error name="org.freedesktop.Telepathy.Error.Channel.InviteOnly"/>
diff --git a/spec/Connection_Interface_Requests.xml b/spec/Connection_Interface_Requests.xml
index 203421b..b99d16b 100644
--- a/spec/Connection_Interface_Requests.xml
+++ b/spec/Connection_Interface_Requests.xml
@@ -211,6 +211,12 @@
             property provided was not a valid DNS name.
           </tp:docstring>
         </tp:error>
+        <tp:error name="org.freedesktop.Telepathy.Error.NotCapable">
+          <tp:docstring>
+            The requested channel cannot be created because the requested
+            contact is using a client that lacks a particular feature.
+          </tp:docstring>
+        </tp:error>
         <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable">
           <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
             <p>The requested channel cannot be created, but in
@@ -218,8 +224,6 @@
               For instance, this might be because:</p>
 
             <ul>
-              <li>the requested contact is using a client
-                that lacks a particular feature</li>
               <li>a channel matching the request already exists and the
                 protocol requires that only one such channel can exist at a
                 time</li>
-- 
1.5.6.5




More information about the telepathy-commits mailing list