diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index 63e3339c..43ea6063 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -737,7 +737,8 @@ class BaseXMPP(XMLStream): if not self.is_component and not presence['to'].bare: presence['to'] = self.boundjid - self.event("presence_%s" % presence['type'], presence) + self.event('presence', presence) + self.event('presence_%s' % presence['type'], presence) # Check for changes in subscription state. if presence['type'] in ('subscribe', 'subscribed',