diff --git a/include/api.php b/include/api.php index 41631567f3..e0ffef6bb6 100644 --- a/include/api.php +++ b/include/api.php @@ -2647,7 +2647,7 @@ function api_convert_item($item) $statustext = substr($statustext, 0, 1000)."... \n".$item["plink"]; } - $statushtml = trim(bbcode($body, false, false)); + $statushtml = bbcode(api_clean_attachments($body), false, false); // Workaround for clients with limited HTML parser functionality $search = ["
", "
", "
", diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index ca88148461..ab778ff9fe 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -2412,7 +2412,7 @@ class DFRN // Is there an existing item? if (DBM::is_result($current) && !self::isEditedTimestampNewer($current[0], $item)) { - logger("Item ".$item["uri"]." already existed in this version.", LOGGER_DEBUG); + logger("Item ".$item["uri"]." (".$item['edited'].") already existed.", LOGGER_DEBUG); return; }