]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge commit 'refs/merge-requests/28' of https://gitorious.org/social/mainline into...
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 8 Jan 2015 15:48:42 +0000 (16:48 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 8 Jan 2015 15:48:42 +0000 (16:48 +0100)
plugins/OStatus/OStatusPlugin.php

index 07523cdd0b0582166ab24660437aac0e8c45c224..46c49c5f55d2063871bce108edc886d2348eb959 100644 (file)
@@ -1342,7 +1342,7 @@ class OStatusPlugin extends Plugin
     static public function onCheckActivityAuthorship(Activity $activity, Profile &$profile)
     {
         try {
-            $oprofile = Ostatus_profile::ensureProfileURI($profile->getUri());
+            $oprofile = Ostatus_profile::ensureProfileURL($profile->getUrl());
             $profile = $oprofile->checkAuthorship($activity);
         } catch (Exception $e) {
             common_log(LOG_ERR, 'Could not get a profile or check authorship ('.get_class($e).': "'.$e->getMessage().'") for activity ID: '.$activity->id);