diff options
author | Evan Prodromou <evan@status.net> | 2010-02-20 20:36:54 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-20 20:36:54 -0500 |
commit | 6f1ccfc5770776c39bfe28543629e63a566ab541 (patch) | |
tree | 0e3e85e685ab2ad9579846327f19a27c953eb476 /plugins/OStatus/actions | |
parent | 0c62c686756de0752cdd44b63c10cf6e4047860f (diff) |
Subscription::start() should be enough, right?
Diffstat (limited to 'plugins/OStatus/actions')
-rw-r--r-- | plugins/OStatus/actions/usersalmon.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php index 20c6c2942..020ca597c 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."); } |