diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 5d167e2c..6b95c61c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All changes to this project will be documented in this file. +## [8.0.3] - 2020-01-30 + +(ixcobra) check if we are authenticated in publishNext before trying to publish a message + ## [8.0.2] - 2020-01-28 Extract severity level when emitting messages to sentry diff --git a/ixcobra/ixcobra/IXCobraConnection.cpp b/ixcobra/ixcobra/IXCobraConnection.cpp index 24058341..21e1f285 100644 --- a/ixcobra/ixcobra/IXCobraConnection.cpp +++ b/ixcobra/ixcobra/IXCobraConnection.cpp @@ -506,7 +506,7 @@ namespace ix if (_messageQueue.empty()) return true; auto&& msg = _messageQueue.back(); - if (!publishMessage(msg)) + if (!_authenticated || !publishMessage(msg)) { return false; } diff --git a/ixwebsocket/IXWebSocketVersion.h b/ixwebsocket/IXWebSocketVersion.h index b23f42b8..0c6959f9 100644 --- a/ixwebsocket/IXWebSocketVersion.h +++ b/ixwebsocket/IXWebSocketVersion.h @@ -6,4 +6,4 @@ #pragma once -#define IX_WEBSOCKET_VERSION "8.0.2" +#define IX_WEBSOCKET_VERSION "8.0.3"