[Telepathy-commits] [telepathy-spec/master] ContactInfo2: UpdateContactInfo can only change your own information

Will Thompson will.thompson at collabora.co.uk
Fri Jan 16 08:03:15 PST 2009


---
 spec/Connection_Interface_Contact_Info2.xml |   21 ++++++++-------------
 1 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/spec/Connection_Interface_Contact_Info2.xml b/spec/Connection_Interface_Contact_Info2.xml
index d92acfb..a4586a7 100644
--- a/spec/Connection_Interface_Contact_Info2.xml
+++ b/spec/Connection_Interface_Contact_Info2.xml
@@ -111,22 +111,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
         <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable"/>
       </tp:possible-errors>
     </method>
-    <method name="UpdateContactInfo"
-      tp:name-for-bindings="Update_Contact_Info">
-	<tp:docstring>
-	  Update a given contact with new information.
-	</tp:docstring>
-      <arg direction="in" name="Contact" type="u" tp:type="Contact_Handle">
+    <method name="UpdateContactInfo" tp:name-for-bindings="Update_Contact_Info">
+      <tp:docstring>
+        Set new contact information for this connection, replacing existing
+        information.
+      </tp:docstring>
+      <arg direction="in" name="ContactInfo" type="a(sasas)"
+        tp:type="Contact_Info_Field[]">
         <tp:docstring>
-          An integer handle for the contact.
+          The new information to be set.
         </tp:docstring>
       </arg>
-      <arg direction="in" name="ContactInfo" type="a(sasas)"
-	   tp:type="Contact_Info_Field[]">
-	<tp:docstring>
-	  New information.
-	</tp:docstring>
-      </arg>
       <tp:possible-errors>
         <tp:error name="org.freedesktop.Telepathy.Error.Disconnected"/>
         <tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/>
-- 
1.5.6.5




More information about the Telepathy-commits mailing list