From 6dbf0de9f289555c6616cca9d286c33556bba858 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 4 May 2018 06:34:02 +0000 Subject: [PATCH] Removed activities that aren't in the Diaspora protocol --- src/Protocol/Diaspora.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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);