From: Michael Date: Fri, 4 May 2018 06:34:02 +0000 (+0000) Subject: Removed activities that aren't in the Diaspora protocol X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6dbf0de9f289555c6616cca9d286c33556bba858;p=friendica.git Removed activities that aren't in the Diaspora protocol --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index b6c6158871..981abb0831 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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);