[gozerbot] push by bthate - fix joining a password protected conference room on 2012-08-05 13:29 GMT

1 view
Skip to first unread message

goze...@googlecode.com

unread,
Aug 5, 2012, 9:29:41 AM8/5/12
to gozerbo...@googlegroups.com
Revision: 963c56975f66
Author: Bart Thate <bth...@gmail.com>
Date: Sun Aug 5 06:29:18 2012
Log: fix joining a password protected conference room
http://code.google.com/p/gozerbot/source/detail?r=963c56975f66

Modified:
/gozerbot/xmpp/bot.py

=======================================
--- /gozerbot/xmpp/bot.py Mon Jan 23 04:00:39 2012
+++ /gozerbot/xmpp/bot.py Sun Aug 5 06:29:18 2012
@@ -530,7 +530,7 @@
self.errorwait.register("401", q, 3)
self.errorwait.register("400", q, 3)
presence = Presence({'to': channel + '/' + nick}, self)
- if password: presence.x.password = password
+ if password: presence.x['password'] = password
self.send(presence)
errorobj = waitforqueue(q, 3)
if errorobj:
Reply all
Reply to author
Forward
0 new messages