Default behaviour for adding media types

This commit is contained in:
Michael 2024-03-09 15:45:38 +00:00
parent 2077e00eae
commit 00b325d521

View File

@ -912,6 +912,8 @@ class Media
$body .= "\n[audio]" . $media['url'] . "[/audio]\n";
} elseif ($media['type'] == self::VIDEO) {
$body .= "\n[video]" . $media['url'] . "[/video]\n";
} else {
$body .= "\n[url]" . $media['url'] . "[/url]\n";
}
}