Improve move support

This commit is contained in:
Thomas Sileo 2022-09-08 20:00:02 +02:00
parent 333fa5dc40
commit a701d3b06e
5 changed files with 30 additions and 19 deletions

View file

@ -322,4 +322,7 @@ def _actor_hash(actor: Actor) -> bytes:
h.update(actor.public_key_id.encode())
h.update(actor.public_key_as_pem.encode())
if actor.moved_to:
h.update(actor.moved_to.encode())
return h.digest()