function onHandleQueuedNotice($notice)
{
- if ($notice->is_local == 1) {
+ if (intval($notice->is_local) === Notice::LOCAL_PUBLIC) {
// Try to avoid actually mucking with the
// notice content
$c = $notice->content;
$parent = $notice->getParent();
$this->linkbackUrl($parent->getUrl());
}
+
+ $replyProfiles = Profile::multiGet('id', $notice->getReplies());
+ foreach($replyProfiles->fetchAll('profileurl') as $profileurl) {
+ $this->linkbackUrl($profileurl);
+ }
}
return true;
}