[next] telepathy-spec: add Entity_Type_Self

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Thu Feb 13 16:05:50 CET 2014


Module: telepathy-spec
Branch: next
Commit: f1806075c30757f0a6f91c1e984118678680c76c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-spec/commit/?id=f1806075c30757f0a6f91c1e984118678680c76c

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Thu Feb 13 13:04:52 2014 +0100

add Entity_Type_Self

---

 spec/Connection.xml |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/spec/Connection.xml b/spec/Connection.xml
index 025d7b3..f712f3d 100644
--- a/spec/Connection.xml
+++ b/spec/Connection.xml
@@ -212,6 +212,19 @@ USA.</p>
           on XMPP, or the channel name "#telepathy" on IRC.</p>
         </tp:docstring>
       </tp:enumvalue>
+      <tp:enumvalue suffix="Self" value="3">
+        <tp:docstring>
+          <p>Not used within Telepathy itself, but reserved for use by
+            telepathy-logger.</p>
+
+          <tp:rationale>
+            telepathy-logger uses this type to represents the owner of the
+            account whose channel has been logged to. We don't need this
+            concept in Telepathy itself but it's convenient to use the same
+            enum across the whole API.
+          </tp:rationale>
+        </tp:docstring>
+      </tp:enumvalue>
     </tp:enum>
 
     <tp:simple-type name="Handle" type="u" array-name="Handle_List">



More information about the telepathy-commits mailing list