Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/1728/head
Maxence Lange 2023-04-11 14:02:56 -01:00
rodzic 8fc2528449
commit 7854d6b96d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -247,7 +247,7 @@ class ApiController extends Controller {
$status->import($this->convertInput($input));
$post = new Post($this->accountService->getActorFromUserId($this->currentSession()));
$post->setContent($status->getStatus());
$post->setContent(nl2br($status->getStatus()));
$post->setType($status->getVisibility());
if (!empty($status->getMediaIds())) {