mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:44:22 +02:00
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
78b969cb19
commit
c81a9d1ddd
3 changed files with 3 additions and 3 deletions
|
@ -225,7 +225,7 @@ class ClientToServer
|
|||
case 'as:audience':
|
||||
$type = Receiver::TARGET_AUDIENCE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
$receiver_list = JsonLD::fetchElementArray($object, $element, '@id');
|
||||
if (empty($receiver_list)) {
|
||||
continue;
|
||||
|
|
|
@ -1169,7 +1169,7 @@ class Receiver
|
|||
case 'as:audience':
|
||||
$type = self::TARGET_AUDIENCE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$receivers[$contact['uid']] = ['uid' => $contact['uid'], 'type' => $type];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue