mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00: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
|
@ -39,6 +39,7 @@ use Friendica\Model\ItemURI;
|
|||
use Friendica\Model\Mail;
|
||||
use Friendica\Model\Notify\Type;
|
||||
use Friendica\Model\PermissionSet;
|
||||
use Friendica\Model\Post;
|
||||
use Friendica\Model\Post\Category;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Model\Tag;
|
||||
|
@ -2176,7 +2177,7 @@ class DFRN
|
|||
$item["attach"] = "";
|
||||
}
|
||||
|
||||
$item["attach"] .= '[attach]href="' . $href . '" length="' . $length . '" type="' . $type . '" title="' . $title . '"[/attach]';
|
||||
$item["attach"] .= Post\Media::getAttachElement($href, $length, $type, $title);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue