From 69c6b38894b8099a641ca431e47af6805eeab6b2 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 17 Oct 2011 21:29:39 +0200 Subject: remove /visitor /participant /moderator and replace them with /role --- src/multiuserchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/multiuserchat.py') diff --git a/src/multiuserchat.py b/src/multiuserchat.py index 67fa32e6..b00b4599 100644 --- a/src/multiuserchat.py +++ b/src/multiuserchat.py @@ -70,7 +70,7 @@ def leave_groupchat(xmpp, jid, own_nick, msg): def set_user_role(xmpp, jid, nick, reason, role): """ (try to) Set the role of a MUC user - (role =) 'none': eject user) + (role = 'none': eject user) """ iq = xmpp.makeIqSet() query = ET.Element('{%s}query' % NS_MUC_ADMIN) -- cgit v1.2.3