From dc36621dc225c60251f301f98744d1364cef0972 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sun, 25 Oct 2015 17:22:15 +0000 Subject: [PATCH] Linkback to mentioned profiles --- plugins/Linkback/LinkbackPlugin.php | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- 2.39.5