diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-05-01 18:39:33 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-05-01 18:39:33 +0200 |
commit | e8f5c21fcd4fd80534437ad914b6f80b9b606720 (patch) | |
tree | abaedbe42309276c201c45751d2137c3d60fe39c /src/core.py | |
parent | fb21f337e7e71e2efaada3f98d06172b91e2f46b (diff) | |
download | poezio-e8f5c21fcd4fd80534437ad914b6f80b9b606720.tar.gz poezio-e8f5c21fcd4fd80534437ad914b6f80b9b606720.tar.bz2 poezio-e8f5c21fcd4fd80534437ad914b6f80b9b606720.tar.xz poezio-e8f5c21fcd4fd80534437ad914b6f80b9b606720.zip |
Lets plugins change the presence BEFORE joining a muc, with a new plugin event
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 6 |
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, |