mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
[websocket] Invoke send listeners
This commit is contained in:
parent
b117d8c3d4
commit
8133505050
1 changed files with 1 additions and 0 deletions
|
@ -271,6 +271,7 @@ public final class XmppWebSocketTransportModule
|
||||||
asyncButOrderedOutgoingElementsQueue.performAsyncButOrdered(outgoingElementsQueue, () -> {
|
asyncButOrderedOutgoingElementsQueue.performAsyncButOrdered(outgoingElementsQueue, () -> {
|
||||||
for (TopLevelStreamElement topLevelStreamElement; (topLevelStreamElement = outgoingElementsQueue.poll()) != null;) {
|
for (TopLevelStreamElement topLevelStreamElement; (topLevelStreamElement = outgoingElementsQueue.poll()) != null;) {
|
||||||
websocket.send(topLevelStreamElement);
|
websocket.send(topLevelStreamElement);
|
||||||
|
connectionInternal.fireFirstLevelElementSendListeners(topLevelStreamElement);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue