fix arguments in pm events.

This commit is contained in:
Yann Leboulanger 2011-05-04 22:37:47 +02:00
parent 93e0b144c7
commit 4c624a5287
1 changed files with 2 additions and 2 deletions

View File

@ -1283,8 +1283,8 @@ class GroupchatControl(ChatControlBase):
else:
# otherwise pass it off to the control to be queued
self.on_private_message(nick, obj.msgtxt, obj.timestamp,
obj.xhtml, self, msg_id=obj.msg_id, encrypted=obj.encrypted,
displaymarking=obj.displaymarking)
obj.xhtml, self.session, msg_id=obj.msg_id,
encrypted=obj.encrypted, displaymarking=obj.displaymarking)
def got_connected(self):
# Make autorejoin stop.