summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index 6d882835..0d53f5b6 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1735,11 +1735,11 @@ class Core(object):
seconds = int(seconds)
else:
seconds = 0
- muc.join_groupchat(self.xmpp, room, nick, password,
+ muc.join_groupchat(self, room, nick, password,
histo_length, current_status.message, current_status.show, seconds=seconds)
if not tab:
self.open_new_room(room, nick)
- muc.join_groupchat(self.xmpp, room, nick, password,
+ muc.join_groupchat(self, room, nick, password,
histo_length, current_status.message, current_status.show)
else:
tab.own_nick = nick
@@ -3272,7 +3272,7 @@ class Core(object):
# do not join rooms that do not have autojoin
# but display them anyway
if bm.autojoin:
- muc.join_groupchat(self.xmpp, bm.jid, nick,
+ muc.join_groupchat(self, bm.jid, nick,
passwd=bm.password,
maxhistory=histo_length,
status=self.status.message,