Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-04-11 18:35:39 +0300
committerlovetox <philipp@hoerist.com>2020-04-11 18:35:39 +0300
commit828ee78b4cb6947050d407656efff1dcb6723574 (patch)
tree063afb077d7e71d51bb77ea900d85f36c1eef9e5
parent852b29d8be3816ea8dbf8c54e84dd184d5f10066 (diff)
Websocket: Pass stanza on data-sent
-rw-r--r--nbxmpp/websocket.py2
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: