mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Default behaviour for adding media types
This commit is contained in:
parent
2077e00eae
commit
00b325d521
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue