diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 0cefa6ef..ed1c17a2 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -1350,6 +1350,7 @@ class XMLStream(asyncio.BaseProtocol): if isinstance(data, (RootStanza, str)) and not passthrough: self.__queued_stanzas.append((data, use_filters)) log.debug('NOT SENT: %s %s', type(data), data) + self.event('stanza_not_sent', data) return self.waiting_queue.put_nowait((data, use_filters))