[telepathy-spec/master] fd.o#24851: declare that chat states make no sense on non-Text channels

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Nov 6 06:46:20 PST 2009


This validates a similar decision in telepathy-qt4's C++ API.

Approved by spec meeting on 2009-11-05 (cassidy, Robot101, sjoerd, smcv,
wjt)
---
 spec/Channel_Interface_Chat_State.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/spec/Channel_Interface_Chat_State.xml b/spec/Channel_Interface_Chat_State.xml
index 292e6e1..89ad6da 100644
--- a/spec/Channel_Interface_Chat_State.xml
+++ b/spec/Channel_Interface_Chat_State.xml
@@ -17,7 +17,8 @@ License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
   </tp:license>
   <interface name="org.freedesktop.Telepathy.Channel.Interface.ChatState">
-    <tp:requires interface="org.freedesktop.Telepathy.Channel"/>
+    <tp:requires interface="org.freedesktop.Telepathy.Channel.Type.Text"/>
+
     <method name="SetChatState" tp:name-for-bindings="Set_Chat_State">
       <arg direction="in" name="State" type="u" tp:type="Channel_Chat_State">
         <tp:docstring>
-- 
1.5.6.5




More information about the telepathy-commits mailing list