mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:50:11 +00:00
Merge pull request #4978 from annando/dba-2
Diaspora: Fix person/contact retraction
This commit is contained in:
commit
3a3a4807a8
2 changed files with 25 additions and 80 deletions
|
@ -2969,12 +2969,10 @@ class Diaspora
|
|||
case "StatusMessage":
|
||||
return self::itemRetraction($importer, $contact, $data);
|
||||
|
||||
case "Contact":
|
||||
case "Person":
|
||||
/// @todo What should we do with an "unshare"?
|
||||
// Removing the contact isn't correct since we still can read the public items
|
||||
Contact::remove($contact["id"]);
|
||||
return true;
|
||||
case "PollParticipation":
|
||||
case "Photo":
|
||||
// Currently unsupported
|
||||
break;
|
||||
|
||||
default:
|
||||
logger("Unknown target type ".$target_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue