From 291e12574aeb3b71200b23d8ffc630a36f170008 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 28 Feb 2024 13:16:47 +0000 Subject: more cleanup --- Zotlabs/Lib/Activity.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 15e292ec4..b4ce4b5d0 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -783,11 +783,6 @@ class Activity { $ret = []; $reply = false; - if ($i['verb'] === ACTIVITY_FRIEND) { - // Hubzilla 'make-friend' activity, no direct mapping from AS1 to AS2 - make it a note - $ret['obj'] = []; - } - $ret['type'] = self::activity_mapper($i['verb']); if ((isset($i['item_deleted']) && intval($i['item_deleted'])) && !$recurse) { @@ -1221,9 +1216,6 @@ class Activity { return $acts[$verb]; } - if (strpos($verb, ACTIVITY_FRIEND) !== false) - return 'Create'; - // We should return false, however this will trigger an uncaught execption and crash // the delivery system if encountered by the JSON-LDSignature library -- cgit v1.2.3