reinstate lost replies code in OStatusQueueHandler
This commit is contained in:
parent
7759aa51e6
commit
da4ba6a5a9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user