mirror of
https://github.com/friendica/friendica
synced 2024-11-17 21:43:41 +00:00
Only use mention and exclusive mention
This commit is contained in:
parent
b9ea7adbda
commit
0e5ee88c43
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ function item_post(App $a) {
|
|||
|
||||
// Search for forum mentions
|
||||
if (!$toplevel_item_id) {
|
||||
foreach (Tag::getFromBody($body) as $tag) {
|
||||
foreach (Tag::getFromBody($body, Tag::TAG_CHARACTER[Tag::MENTION] . Tag::TAG_CHARACTER[Tag::EXCLUSIVE_MENTION]) as $tag) {
|
||||
$contact = Contact::getByURL($tag[2], false, [], $profile_uid);
|
||||
if ($contact['contact-type'] != Contact::TYPE_COMMUNITY) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue