aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/MessageFilter.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-05-16 20:44:53 +0000
committerMario <mario@mariovavti.com>2022-05-16 20:44:53 +0000
commitc1dc16a89dedd029f4cb206009c6ef7d66626c01 (patch)
tree5652c48329fe01dfadf5ef98fb09d4cab29896c2 /Zotlabs/Lib/MessageFilter.php
parent66436ce4a2c017b2de167310f302fc5b0c4c6f60 (diff)
downloadvolse-hubzilla-c1dc16a89dedd029f4cb206009c6ef7d66626c01.tar.gz
volse-hubzilla-c1dc16a89dedd029f4cb206009c6ef7d66626c01.tar.bz2
volse-hubzilla-c1dc16a89dedd029f4cb206009c6ef7d66626c01.zip
make sure we use source.content when rendering events to correctly render observer related content. fix wrong media types.
Diffstat (limited to 'Zotlabs/Lib/MessageFilter.php')
-rw-r--r--Zotlabs/Lib/MessageFilter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/MessageFilter.php b/Zotlabs/Lib/MessageFilter.php
index 95721e7c7..70b0188c4 100644
--- a/Zotlabs/Lib/MessageFilter.php
+++ b/Zotlabs/Lib/MessageFilter.php
@@ -8,7 +8,7 @@ class MessageFilter {
public static function evaluate($item, $incl, $excl) {
- $text = prepare_text($item['body'],((isset($item['mimetype'])) ? $item['mimetype'] : 'text/x-multicode'));
+ $text = prepare_text($item['body'],((isset($item['mimetype'])) ? $item['mimetype'] : 'text/bbcode'));
$text = html2plain(($item['title']) ? $item['title'] . ' ' . $text : $text);
$lang = null;