kopia lustrzana https://gitlab.com/jaywink/federation
Objects extracted from collections don't have _source_object set.
rodzic
e7d954b788
commit
59d5e99d23
|
@ -306,6 +306,7 @@ class Object(BaseEntity, metaclass=JsonLDAnnotation):
|
||||||
|
|
||||||
def _validate_signatures(self):
|
def _validate_signatures(self):
|
||||||
# Always verify the inbound LD signature, for monitoring purposes
|
# Always verify the inbound LD signature, for monitoring purposes
|
||||||
|
if self._source_object: # objects extracted from collections don't have a source object
|
||||||
actor = verify_ld_signature(self._source_object)
|
actor = verify_ld_signature(self._source_object)
|
||||||
if not self._sender:
|
if not self._sender:
|
||||||
return
|
return
|
||||||
|
|
Ładowanie…
Reference in New Issue