mirror of
https://github.com/friendica/friendica
synced 2025-04-25 10:30:12 +00:00
Merge pull request #8883 from annando/replace-getdetails
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
This commit is contained in:
commit
631095eefd
31 changed files with 84 additions and 291 deletions
|
@ -2106,7 +2106,7 @@ class OStatus
|
|||
$mentioned = $newmentions;
|
||||
|
||||
foreach ($mentioned as $mention) {
|
||||
$contact = Contact::getByURL($mention, 0, ['contact-type']);
|
||||
$contact = Contact::getByURL($mention, ['contact-type']);
|
||||
if (!empty($contact) && ($contact['contact-type'] == Contact::TYPE_COMMUNITY)) {
|
||||
XML::addElement($doc, $entry, "link", "",
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue