]> git.mxchange.org Git - friendica.git/commitdiff
Removed activities that aren't in the Diaspora protocol
authorMichael <heluecht@pirati.ca>
Fri, 4 May 2018 06:34:02 +0000 (06:34 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 4 May 2018 06:34:02 +0000 (06:34 +0000)
src/Protocol/Diaspora.php

index b6c6158871cbddddba9afc7e1ddaa5e1cbdc1b30..981abb0831defaec2816419afe5ec16b307cbc7b 100644 (file)
@@ -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);