mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:02:54 +00:00
Removed activities that aren't in the Diaspora protocol
This commit is contained in:
parent
a83970bc0e
commit
6dbf0de9f2
1 changed files with 4 additions and 6 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…
Reference in a new issue