-
Notifications
You must be signed in to change notification settings - Fork 29
Description
There is an edge case, when we receive AccountDeletion
or AccountMigration
message with author
that isn't discovered. Currently diaspora_federation
will run the discovery procedure and then receive the entity, just how it works for any other message type. But it doesn't make too much sense for both AccountDeletion
and AccountMigration
. Since we don't know the author, then we don't have to delete anything or update references on our pod. So we should just ignore these messages for the case, when author
is not discovered. This will save us from doing unnecessary job. So while it is not what normally happens (reception of AD/AM message for undiscovered user) I think it worth adding additional handling for this case, since it's possible that other implementations go this way for any reason.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.