diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 97592684..33b0d974 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,10 @@ All changes to this project will be documented in this file. +## [10.4.3] - 2020-09-22 + +(cobra 2 cobra) specify as an HTTP header which channel we will republish to + ## [10.4.2] - 2020-09-18 (cobra bots) change an error log to a warning log when reconnecting because no messages were received for a minute diff --git a/ixbots/ixbots/IXCobraToCobraBot.cpp b/ixbots/ixbots/IXCobraToCobraBot.cpp index 06fe7fee..45848a7a 100644 --- a/ixbots/ixbots/IXCobraToCobraBot.cpp +++ b/ixbots/ixbots/IXCobraToCobraBot.cpp @@ -23,6 +23,8 @@ namespace ix CobraConfig cobraPublisherConfig = cobraBotConfig.cobraConfig; cobraPublisherConfig.rolename = publisherRolename; cobraPublisherConfig.rolesecret = publisherRolesecret; + cobraPublisherConfig.headers["X-Cobra-Republish-Channel"] = republishChannel; + cobraMetricsPublisher.configure(cobraPublisherConfig, republishChannel); bot.setOnBotMessageCallback( diff --git a/ixwebsocket/IXWebSocketVersion.h b/ixwebsocket/IXWebSocketVersion.h index 482c663a..525e2209 100644 --- a/ixwebsocket/IXWebSocketVersion.h +++ b/ixwebsocket/IXWebSocketVersion.h @@ -6,4 +6,4 @@ #pragma once -#define IX_WEBSOCKET_VERSION "10.4.2" +#define IX_WEBSOCKET_VERSION "10.4.3"