summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 0c9c2047..72b78d83 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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: