FIX: fixed issue from unpacking message

This commit is contained in:
Henry Winkel
2023-08-11 11:23:07 +02:00
parent 8eaf6e529c
commit 6d26b12394

View File

@@ -16,8 +16,7 @@ namespace WHISPER {
topic_ = msg.topic();
msgType_ = msg.msgtype();
senderUUID_ = msg.senderuuid();
auto ptr = std::make_shared<google::protobuf::Any>();
payload_->CopyFrom(*msg.mutable_payload());
} catch (const std::exception& e) {
LOG_S(ERROR)<<e.what();