diff options
author | lovetox <philipp@hoerist.com> | 2020-04-11 18:35:39 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-04-11 18:35:39 +0300 |
commit | 828ee78b4cb6947050d407656efff1dcb6723574 (patch) | |
tree | 063afb077d7e71d51bb77ea900d85f36c1eef9e5 | |
parent | 852b29d8be3816ea8dbf8c54e84dd184d5f10066 (diff) |
Websocket: Pass stanza on data-sent
-rw-r--r-- | nbxmpp/websocket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/websocket.py b/nbxmpp/websocket.py index 307f149..82b72eb 100644 --- a/nbxmpp/websocket.py +++ b/nbxmpp/websocket.py @@ -139,7 +139,7 @@ class WebsocketConnection(Connection): data = str(stanza) self._websocket.send_text(data) self._log_stanza(data, received=False) - self.notify('data-sent', data) + self.notify('data-sent', stanza) def disconnect(self): if self._state == TCPState.CONNECTING: |