(ixcobra) check if we are authenticated in publishNext before trying to publish a message

This commit is contained in:
Benjamin Sergeant 2020-01-30 20:52:11 -08:00
parent d91b24723d
commit c2362e6875
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -506,7 +506,7 @@ namespace ix
if (_messageQueue.empty()) return true;
auto&& msg = _messageQueue.back();
if (!publishMessage(msg))
if (!_authenticated || !publishMessage(msg))
{
return false;
}

View File

@ -6,4 +6,4 @@
#pragma once
#define IX_WEBSOCKET_VERSION "8.0.2"
#define IX_WEBSOCKET_VERSION "8.0.3"