Removed activities that aren't in the Diaspora protocol
This commit is contained in:
parent
a83970bc0e
commit
6dbf0de9f2
|
@ -2969,12 +2969,10 @@ class Diaspora
|
||||||
case "StatusMessage":
|
case "StatusMessage":
|
||||||
return self::itemRetraction($importer, $contact, $data);
|
return self::itemRetraction($importer, $contact, $data);
|
||||||
|
|
||||||
case "Contact":
|
case "PollParticipation":
|
||||||
case "Person":
|
case "Photo":
|
||||||
/// @todo What should we do with an "unshare"?
|
// Currently unsupported
|
||||||
// Removing the contact isn't correct since we still can read the public items
|
break;
|
||||||
Contact::remove($contact["id"]);
|
|
||||||
return true;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
logger("Unknown target type ".$target_type);
|
logger("Unknown target type ".$target_type);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user