Linkback to mentioned profiles
This commit is contained in:
parent
677f0ac479
commit
dc36621dc2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user