Function renamed to better reflect the functionality

This commit is contained in:
Michael 2021-07-09 06:29:24 +00:00
parent 17ae9b71af
commit d8974c9a2a
10 changed files with 29 additions and 29 deletions

View file

@ -1803,7 +1803,7 @@ class OStatus
if (!$toplevel) {
if (!empty($item['title'])) {
$title = BBCode::convertForItem($item['uri-id'], $item['title'], BBCode::OSTATUS);
$title = BBCode::convertForUriId($item['uri-id'], $item['title'], BBCode::OSTATUS);
} else {
$title = sprintf("New note by %s", $owner["nick"]);
}
@ -1892,7 +1892,7 @@ class OStatus
$body = "[b]".$item['title']."[/b]\n\n".$body;
}
$body = BBCode::convertForItem($item['uri-id'], $body, BBCode::OSTATUS);
$body = BBCode::convertForUriId($item['uri-id'], $body, BBCode::OSTATUS);
XML::addElement($doc, $entry, "content", $body, ["type" => "html"]);