mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Corrections for DFRN, added support for OStatus
This commit is contained in:
parent
3f4c85dead
commit
1e702d4145
2 changed files with 11 additions and 2 deletions
|
@ -2465,13 +2465,13 @@ class DFRN
|
|||
$fields = ['uri-id' => $item['uri-id'], 'name' => substr($term, 0, 64)];
|
||||
|
||||
if ($termhash == Term::TAG_CHARACTER[Term::MENTION]) {
|
||||
$fields['type'] = Term::EXCLUSIVE_MENTION;
|
||||
$fields['type'] = Term::MENTION;
|
||||
} elseif ($termhash == Term::TAG_CHARACTER[Term::EXCLUSIVE_MENTION]) {
|
||||
$fields['type'] = Term::EXCLUSIVE_MENTION;
|
||||
} elseif ($termhash == Term::TAG_CHARACTER[Term::IMPLICIT_MENTION]) {
|
||||
$fields['type'] = Term::IMPLICIT_MENTION;
|
||||
} elseif ($termhash == Term::TAG_CHARACTER[Term::HASHTAG]) {
|
||||
$fields['type'] = Term::IMPLICIT_MENTION;
|
||||
$fields['type'] = Term::HASHTAG;
|
||||
}
|
||||
|
||||
if (!empty($termurl)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue