mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 19:30:20 +00:00
Fixes some notice
This commit is contained in:
parent
18e43c0138
commit
9616e770f3
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ HTML;
|
|||
function mastodoncustomemojis_put_item_in_cache(App $a, array &$hook_data)
|
||||
{
|
||||
// Mastodon uses OStatus, skipping other network protocols
|
||||
if ($hook_data['item']['network'] != Protocol::OSTATUS) {
|
||||
if (empty($hook_data['item']['author-link']) || ($hook_data['item']['network'] != Protocol::OSTATUS)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue