From: Evan Prodromou Date: Sun, 21 Feb 2010 01:36:54 +0000 (-0500) Subject: Subscription::start() should be enough, right? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6f1ccfc5770776c39bfe28543629e63a566ab541;p=quix0rs-gnu-social.git Subscription::start() should be enough, right? --- diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php index 20c6c2942a..020ca597cd 100644 --- a/plugins/OStatus/actions/usersalmon.php +++ b/plugins/OStatus/actions/usersalmon.php @@ -101,7 +101,8 @@ class UsersalmonAction extends SalmonAction $oprofile = $this->ensureProfile(); if ($oprofile) { common_log(LOG_INFO, "Setting up subscription from remote {$oprofile->uri} to local {$this->user->nickname}"); - $oprofile->subscribeRemoteToLocal($this->user); + Subscription::start($oprofile->localProfile(), + $this->user->getProfile()); } else { common_log(LOG_INFO, "Can't set up subscription from remote; missing profile."); }