Linkback to mentioned profiles

This commit is contained in:
Stephen Paul Weber 2015-10-25 17:22:15 +00:00
parent 677f0ac479
commit dc36621dc2

View File

@ -81,6 +81,11 @@ class LinkbackPlugin extends Plugin
$parent = $notice->getParent(); $parent = $notice->getParent();
$this->linkbackUrl($parent->getUrl()); $this->linkbackUrl($parent->getUrl());
} }
$replyProfiles = Profile::multiGet('id', $notice->getReplies());
foreach($replyProfiles->fetchAll('profileurl') as $profileurl) {
$this->linkbackUrl($profileurl);
}
} }
return true; return true;
} }