From: Stephen Paul Weber Date: Sun, 25 Oct 2015 17:22:15 +0000 (+0000) Subject: Linkback to mentioned profiles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dc36621dc225c60251f301f98744d1364cef0972;p=quix0rs-gnu-social.git Linkback to mentioned profiles --- diff --git a/plugins/Linkback/LinkbackPlugin.php b/plugins/Linkback/LinkbackPlugin.php index 4af67baba4..e3519dac9e 100644 --- a/plugins/Linkback/LinkbackPlugin.php +++ b/plugins/Linkback/LinkbackPlugin.php @@ -81,6 +81,11 @@ class LinkbackPlugin extends Plugin $parent = $notice->getParent(); $this->linkbackUrl($parent->getUrl()); } + + $replyProfiles = Profile::multiGet('id', $notice->getReplies()); + foreach($replyProfiles->fetchAll('profileurl') as $profileurl) { + $this->linkbackUrl($profileurl); + } } return true; }