From f0c4fecdeda95631190f68fb3205656d8cc6cdb7 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Fri, 11 Oct 2024 17:19:30 +0000 Subject: [PATCH] revert change Signed-off-by: Ian Chen --- core/src/MessageFactory.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/MessageFactory.cc b/core/src/MessageFactory.cc index 6432db2d..3558ea74 100644 --- a/core/src/MessageFactory.cc +++ b/core/src/MessageFactory.cc @@ -62,6 +62,11 @@ MessageFactory::MessagePtr MessageFactory::New( { type = kGzMsgsPrefix + _msgType.substr(8); } + // Convert ".gz.msgs." prefix + else if (_msgType.find(".gz.msgs.") == 0) + { + type = kGzMsgsPrefix + _msgType.substr(9); + } // Convert ".gz_msgs." prefix else if (_msgType.find(".gz_msgs.") == 0) {