mirror of
https://github.com/friendica/friendica
synced 2025-05-02 05:04:24 +02:00
Don't delete local tombstone contacts
This commit is contained in:
parent
aa32abbdb4
commit
0c21588ab9
2 changed files with 9 additions and 2 deletions
|
@ -558,8 +558,10 @@ class HTTPSignature
|
|||
if (!empty($key['url']) && !empty($key['type']) && ($key['type'] == 'Tombstone')) {
|
||||
Logger::info('Actor is a tombstone', ['key' => $key]);
|
||||
|
||||
// We now delete everything that we possibly knew from this actor
|
||||
Contact::deleteContactByUrl($key['url']);
|
||||
if (!Contact::isLocal($key['url'])) {
|
||||
// We now delete everything that we possibly knew from this actor
|
||||
Contact::deleteContactByUrl($key['url']);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue