diff --git a/include/opendht/default_types.h b/include/opendht/default_types.h index 5862185d..6e028b46 100644 --- a/include/opendht/default_types.h +++ b/include/opendht/default_types.h @@ -159,7 +159,13 @@ public: {} static Value::Filter getFilter() { return EncryptedValue::getFilter(); } + virtual void unpackValue(const dht::Value& v) override + { + BaseClass::unpackValue(v); + id = v.id; + } + dht::Value::Id id {0}; /// Value ID of the trust request, used for deserialization only. std::string service; std::string conversationId; Blob payload;