mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-11 22:54:27 +02:00
The post-media table now works with the "attach" field as well
This commit is contained in:
parent
e5c145e73c
commit
8485c8c357
7 changed files with 131 additions and 22 deletions
|
@ -196,7 +196,8 @@ class Processor
|
|||
$item['attach'] = '';
|
||||
}
|
||||
|
||||
$item['attach'] .= '[attach]href="' . $attach['url'] . '" length="' . ($attach['length'] ?? '0') . '" type="' . $attach['mediaType'] . '" title="' . ($attach['name'] ?? '') . '"[/attach]';
|
||||
$item['attach'] .= Post\Media::getAttachElement($attach['url'],
|
||||
$attach['length'] ?? 0, $attach['mediaType'], $attach['name'] ?? '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue