(ixcobra) check if we are authenticated in publishNext before trying to publish a message
This commit is contained in:
parent
a0c9d31389
commit
3d401fbc8d
@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All changes to this project will be documented in this file.
|
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
|
## [8.0.2] - 2020-01-28
|
||||||
|
|
||||||
Extract severity level when emitting messages to sentry
|
Extract severity level when emitting messages to sentry
|
||||||
|
@ -506,7 +506,7 @@ namespace ix
|
|||||||
if (_messageQueue.empty()) return true;
|
if (_messageQueue.empty()) return true;
|
||||||
|
|
||||||
auto&& msg = _messageQueue.back();
|
auto&& msg = _messageQueue.back();
|
||||||
if (!publishMessage(msg))
|
if (!_authenticated || !publishMessage(msg))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IX_WEBSOCKET_VERSION "8.0.2"
|
#define IX_WEBSOCKET_VERSION "8.0.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user