kopia lustrzana https://github.com/nextcloud/social
line breaks
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/1728/head
rodzic
8fc2528449
commit
7854d6b96d
|
@ -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())) {
|
||||
|
|
Ładowanie…
Reference in New Issue