From 7cf64e2ffbe10c1c505478c30370a68c0417bf5d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 14 Oct 2013 17:19:18 +0100 Subject: [PATCH] Renaming: emit new identifier in Renamed signals As a general design principle, signals that announce a new handle should announce its identifier too. This lets client libraries construct a TpContact, Tp::Contact etc. without a round trip. --- spec/Connection_Interface_Renaming1.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/spec/Connection_Interface_Renaming1.xml b/spec/Connection_Interface_Renaming1.xml index f8e7ca8..16a8d49 100644 --- a/spec/Connection_Interface_Renaming1.xml +++ b/spec/Connection_Interface_Renaming1.xml @@ -27,11 +27,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - + The handle of the new identifier + + +

The normalized identifier corresponding to New_Handle.

+ + +

Providing this immediately means that client libraries + can do useful things with this signal (log the change, + construct contact objects, etc.) without an additional + round-trip to find the corresponding string.

+
+
+

Emitted when the unique identifier of a contact on the server changes.

-- 1.8.4.rc3