diff --git a/sleekxmpp/plugins/xep_0249/invite.py b/sleekxmpp/plugins/xep_0249/invite.py index fdeffde..95fcb37 100644 --- a/sleekxmpp/plugins/xep_0249/invite.py +++ b/sleekxmpp/plugins/xep_0249/invite.py @@ -49,7 +49,7 @@ class xep_0249(base_plugin): log.debug("Received direct muc invitation from %s to room %s", msg['from'], msg['groupchat_invite']['jid']) - self.xmpp.event('groupchat_direct_invite', message) + self.xmpp.event('groupchat_direct_invite', msg) def send_invitation(self, jid, roomjid, password=None, reason=None, ifrom=None):