assert($notice instanceof Notice);
$this->notice = $notice;
- $this->user = User::staticGet($notice->profile_id);
+ $this->user = User::staticGet('id', $notice->profile_id);
$this->pushUser();
$this->pushGroup($group->id);
}
}
+
+ foreach ($notice->getReplies() as $profile_id) {
+ $oprofile = Ostatus_profile::staticGet('profile_id', $profile_id);
+ if ($oprofile) {
+ $this->pingReply($oprofile);
+ }
+ }
if (!empty($this->notice->reply_to)) {
$replyTo = Notice::staticGet('id', $this->notice->reply_to);