diff --git a/lib/tunnelbroker/peer-to-peer-message-handler.js b/lib/tunnelbroker/peer-to-peer-message-handler.js --- a/lib/tunnelbroker/peer-to-peer-message-handler.js +++ b/lib/tunnelbroker/peer-to-peer-message-handler.js @@ -83,16 +83,11 @@ } catch (e) { console.log(getMessageForException(e)); } finally { - if ( - localSocketSessionCounter === getSessionCounter() && - doesSocketExist() - ) { - const confirmation: MessageReceiveConfirmation = { - type: deviceToTunnelbrokerMessageTypes.MESSAGE_RECEIVE_CONFIRMATION, - messageIDs: [messageID], - }; - socketSend(JSON.stringify(confirmation)); - } + const confirmation: MessageReceiveConfirmation = { + type: deviceToTunnelbrokerMessageTypes.MESSAGE_RECEIVE_CONFIRMATION, + messageIDs: [messageID], + }; + socketSend(JSON.stringify(confirmation)); } } },