diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php index eb3a62da32..70cc5d016b 100644 --- a/plugins/OStatus/lib/salmonaction.php +++ b/plugins/OStatus/lib/salmonaction.php @@ -255,7 +255,7 @@ class SalmonAction extends Action if (!$profile instanceof Profile) { common_debug("We do not have a local profile to connect to this activity's author. Let's create one."); // ensureActivityObjectProfile throws exception on failure - $oprofile = Ostatus_profile::createActivityObjectProfile($actor); + $oprofile = Ostatus_profile::ensureActivityObjectProfile($actor); $profile = $oprofile->localProfile(); } assert($profile instanceof Profile);