diff options
author | Mario <mario@mariovavti.com> | 2021-06-18 10:12:08 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-06-18 10:12:08 +0000 |
commit | cf69859885d5af1bd34448635c0970cd50f7691f (patch) | |
tree | ac61a5c0fa136ccbdd381fc1010fecaeadd4eb87 /Zotlabs/Lib | |
parent | af71f7f8cd44c4ebeb59d7a92923ad12813a1d35 (diff) | |
download | volse-hubzilla-cf69859885d5af1bd34448635c0970cd50f7691f.tar.gz volse-hubzilla-cf69859885d5af1bd34448635c0970cd50f7691f.tar.bz2 volse-hubzilla-cf69859885d5af1bd34448635c0970cd50f7691f.zip |
one more place to drop media
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Enotify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php index 50b564bde..876167743 100644 --- a/Zotlabs/Lib/Enotify.php +++ b/Zotlabs/Lib/Enotify.php @@ -860,7 +860,7 @@ class Enotify { //'b64mid' => ((in_array($item['verb'], [ACTIVITY_LIKE, ACTIVITY_DISLIKE])) ? 'b64.' . base64url_encode($item['thr_parent']) : 'b64.' . base64url_encode($item['mid'])), 'thread_top' => (($item['item_thread_top']) ? true : false), 'message' => bbcode(escape_tags($itemem_text)), - 'body' => htmlentities(html2plain(bbcode($item['body']), 75, true), ENT_QUOTES, 'UTF-8', false), + 'body' => htmlentities(html2plain(bbcode($item['body'], ['drop_media', true]), 75, true), ENT_QUOTES, 'UTF-8', false), // these are for the superblock addon 'hash' => $item[$who]['xchan_hash'], 'uid' => $item['uid'], |