Commit 4c624a52 authored by Yann Leboulanger's avatar Yann Leboulanger

fix arguments in pm events.

parent 93e0b144
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment