FIX: fixed issue from unpacking message
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user