[telepathy-gabble/master] Use the right muc namespace for participants

Sjoerd Simons sjoerd.simons at collabora.co.uk
Thu Jan 7 05:30:41 PST 2010


---
 tests/twisted/tubes/offer-muc-dbus-tube.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/tubes/offer-muc-dbus-tube.py b/tests/twisted/tubes/offer-muc-dbus-tube.py
index 5d536f9..96a5e21 100644
--- a/tests/twisted/tubes/offer-muc-dbus-tube.py
+++ b/tests/twisted/tubes/offer-muc-dbus-tube.py
@@ -301,7 +301,7 @@ def test(q, bus, conn, stream, access_control):
 
     def bob_in_tube():
         presence = elem('presence', from_='chat2 at conf.localhost/bob', to='chat2 at conf.localhost')(
-            elem('x', xmlns=ns.MUC),
+            elem('x', xmlns=ns.MUC_USER),
             elem('tubes', xmlns=ns.TUBES)(
                 elem('tube', type='dbus', initiator='chat2 at conf.localhost/test',
                     service='com.example.TestCase', id=str(dbus_tube_id))(
@@ -337,7 +337,7 @@ def test(q, bus, conn, stream, access_control):
 
     # Bob leave the tube
     presence = elem('presence', from_='chat2 at conf.localhost/bob', to='chat2 at conf.localhost')(
-        elem('x', xmlns=ns.MUC),
+        elem('x', xmlns=ns.MUC_USER),
         elem('tubes', xmlns=ns.TUBES))
     stream.send(presence)
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list