diff --git a/io/stomp/18-stomp.js b/io/stomp/18-stomp.js index 61b77fa8..a1777333 100644 --- a/io/stomp/18-stomp.js +++ b/io/stomp/18-stomp.js @@ -452,7 +452,7 @@ module.exports = function(RED) { setStatusDisconnected(node); node.on("input", function(msg, send, done) { - node.client.ack(msg.messageId, node.topic, msg.transaction); + node.serverConnection.ack(msg.messageId, node.topic, msg.transaction); done(); });