--- a/rollbot.py Mon Jul 18 19:17:54 2016 +0800
+++ b/rollbot.py Wed Jul 20 00:32:32 2016 +0800
ns = 'http://jabber.org/protocol/muc#user'
pel = invite.find('{%(ns)s}x/{%(ns)s}password' % {'ns': ns})
password = pel.text if pel is not None else ''
- self.plugin['xep_0045'].joinMUC(room, self.nick, password=password, wait=True)
+ self.plugin['xep_0045'].joinMUC(room, self.nick, password=password)
def muc_direct_invite(self, invite):
room = invite['groupchat_invite']['jid']
password = invite['groupchat_invite']['password']
- self.plugin['xep_0045'].joinMUC(room, self.nick, password=password, wait=True)
+ self.plugin['xep_0045'].joinMUC(room, self.nick, password=password)
def respond(self, message, prefix=None):