$this->pushFeed($feed, array($this, 'peopletagFeedForNotice'), $ptag);
}
- function pingReply($oprofile)
+ function pingReply(OStatus_profile $oprofile)
{
if ($this->user) {
// For local posts, send a Salmon ping to the mentioned
// remote user or group.
// @fixme as an optimization we can skip this if the
// remote profile is subscribed to the author.
- $oprofile->notifyDeferred($this->notice, $this->user);
+ $oprofile->notifyDeferred($this->notice, $this->user->getProfile());
}
}