Commit da4ba6a5 authored by Evan Prodromou's avatar Evan Prodromou

reinstate lost replies code in OStatusQueueHandler

parent 7759aa51
......@@ -51,7 +51,7 @@ class OStatusQueueHandler extends QueueHandler
assert($notice instanceof Notice);
$this->notice = $notice;
$this->user = User::staticGet($notice->profile_id);
$this->user = User::staticGet('id', $notice->profile_id);
$this->pushUser();
......@@ -63,6 +63,13 @@ class OStatusQueueHandler extends QueueHandler
$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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment