Fix a crash introduce something like 5-6 commits ago, np.
This commit is contained in:
parent
be6f5ba512
commit
38af82501c
1 changed files with 4 additions and 4 deletions
|
@ -1537,12 +1537,12 @@ class MucTab(ChatTab):
|
|||
delay = config.get_by_tabname('autorejoin_delay', "5", self.general_jid, True)
|
||||
delay = common.parse_str_to_secs(delay)
|
||||
if delay <= 0:
|
||||
muc.join_groupchat(self.core.xmpp, self.name, self.own_nick)
|
||||
muc.join_groupchat(self.core, self.name, self.own_nick)
|
||||
else:
|
||||
self.core.add_timed_event(timed_events.DelayedEvent(
|
||||
delay,
|
||||
muc.join_groupchat,
|
||||
self.core.xmpp,
|
||||
self.core,
|
||||
self.name,
|
||||
self.own_nick))
|
||||
|
||||
|
@ -1579,12 +1579,12 @@ class MucTab(ChatTab):
|
|||
delay = config.get_by_tabname('autorejoin_delay', "5", self.general_jid, True)
|
||||
delay = common.parse_str_to_secs(delay)
|
||||
if delay <= 0:
|
||||
muc.join_groupchat(self.core.xmpp, self.name, self.own_nick)
|
||||
muc.join_groupchat(self.core, self.name, self.own_nick)
|
||||
else:
|
||||
self.core.add_timed_event(timed_events.DelayedEvent(
|
||||
delay,
|
||||
muc.join_groupchat,
|
||||
self.core.xmpp,
|
||||
self.core,
|
||||
self.name,
|
||||
self.own_nick))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue