Add implicit mentions to explicit mentions default text
This commit is contained in:
parent
c7dfc88c6c
commit
e51f2cea0d
|
@ -805,7 +805,7 @@ class Post extends BaseObject
|
||||||
$text = '';
|
$text = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$terms = Term::tagArrayFromItemId($this->getId(), TERM_MENTION);
|
$terms = Term::tagArrayFromItemId($this->getId(), [Term::MENTION, Term::IMPLICIT_MENTION]);
|
||||||
|
|
||||||
foreach ($terms as $term) {
|
foreach ($terms as $term) {
|
||||||
$profile = Contact::getDetailsByURL($term['url']);
|
$profile = Contact::getDetailsByURL($term['url']);
|
||||||
|
|
Loading…
Reference in a new issue