mirror of
https://github.com/friendica/friendica
synced 2024-11-10 11:02:53 +00:00
Some small Diaspora changes
This commit is contained in:
parent
8126683552
commit
ea8cfed6a9
1 changed files with 5 additions and 1 deletions
|
@ -1000,6 +1000,9 @@ class diaspora {
|
||||||
* @return bool Success
|
* @return bool Success
|
||||||
*/
|
*/
|
||||||
private function receive_account_deletion($importer, $data) {
|
private function receive_account_deletion($importer, $data) {
|
||||||
|
|
||||||
|
/// @todo Account deletion should remove the contact from the global contacts as well
|
||||||
|
|
||||||
$author = notags(unxmlify($data->author));
|
$author = notags(unxmlify($data->author));
|
||||||
|
|
||||||
$contact = self::contact_by_handle($importer["uid"], $author);
|
$contact = self::contact_by_handle($importer["uid"], $author);
|
||||||
|
@ -2115,10 +2118,11 @@ class diaspora {
|
||||||
case "StatusMessage":
|
case "StatusMessage":
|
||||||
return self::item_retraction($importer, $contact, $data);;
|
return self::item_retraction($importer, $contact, $data);;
|
||||||
|
|
||||||
|
case "Contact":
|
||||||
case "Person":
|
case "Person":
|
||||||
/// @todo What should we do with an "unshare"?
|
/// @todo What should we do with an "unshare"?
|
||||||
// Removing the contact isn't correct since we still can read the public items
|
// Removing the contact isn't correct since we still can read the public items
|
||||||
//contact_remove($contact["id"]);
|
contact_remove($contact["id"]);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue