From 66044b7782d622ab6befc5590915032731883ba9 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 12 Jan 2015 11:47:21 +0100 Subject: [PATCH] ensureActivityObjectProfile is more thorough than createAct... --- plugins/OStatus/lib/salmonaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);