[telepathy-gabble/master] Include 'creator' attribute in <mute/>

Will Thompson will.thompson at collabora.co.uk
Thu Jun 11 08:25:33 PDT 2009


I noticed today that <mute/> was defined only to take a 'name'
attribute, but since content names are (supposed to be) namespaced by
creator it needs a 'creator' attribute too, and PSA agrees.
---
 tests/twisted/jingle/call-state.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/jingle/call-state.py b/tests/twisted/jingle/call-state.py
index f40ada4..ed8ed1e 100644
--- a/tests/twisted/jingle/call-state.py
+++ b/tests/twisted/jingle/call-state.py
@@ -256,7 +256,8 @@ def test(jp, q, bus, conn, stream):
     # FIXME: hardcoded stream id
     node = jp.SetIq(jt.peer, jt.jid, [
         jp.Jingle(jt.sid, jt.jid, 'session-info', [
-            ('mute', ns.JINGLE_RTP_INFO_1, {'name': 'stream1'}, []) ]) ])
+            ('mute', ns.JINGLE_RTP_INFO_1,
+             {'name': 'stream1', 'creator': 'initiator'}, []) ]) ])
     stream.send(jp.xml(node))
 
     forbidden = [
-- 
1.5.6.5




More information about the telepathy-commits mailing list