summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 19:57:41 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 19:57:41 +0000
commit2b4396194b2e4cc571fdc2e15ad68645e6c0328c (patch)
tree1495268baed66552ab06a113ae6701d006f207d8
parentfe4dd60b9544e751febd069343c91005e553a1f6 (diff)
downloadpoezio-2b4396194b2e4cc571fdc2e15ad68645e6c0328c.tar.gz
poezio-2b4396194b2e4cc571fdc2e15ad68645e6c0328c.tar.bz2
poezio-2b4396194b2e4cc571fdc2e15ad68645e6c0328c.tar.xz
poezio-2b4396194b2e4cc571fdc2e15ad68645e6c0328c.zip
remove a little debug
-rw-r--r--src/gui.py2
-rw-r--r--src/multiuserchat.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui.py b/src/gui.py
index 13fea525..aaad7544 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -474,7 +474,7 @@ class Gui(object):
A subscription changed, or we received a roster item
after a roster request, etc
"""
- debug('Roster Update: \n%s\n\n' % iq)
+ # debug('Roster Update: \n%s\n\n' % iq)
for item in iq.findall('{jabber:iq:roster}query/{jabber:iq:roster}item'):
jid = item.attrib['jid']
contact = self.roster.get_contact_by_jid(jid)
diff --git a/src/multiuserchat.py b/src/multiuserchat.py
index d1941a03..c9fdc5b9 100644
--- a/src/multiuserchat.py
+++ b/src/multiuserchat.py
@@ -74,7 +74,7 @@ def change_nick(xmpp, jid, nick):
xmpp.makePresence(pto='%s/%s' % (jid, nick),
pfrom=xmpp.boundjid.bare).send()
-def join_groupchat(xmpp, jid, nick, password=None):
+def join_groupchat(xmpp, jid, nick, password=''):
"""
Join the groupchat
"""