Use the correct function is adviced ...

This commit is contained in:
Michael 2021-09-03 04:20:32 +00:00
parent 307cfef12b
commit ce6f6978bd
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ class Fetch extends BaseModule
if ($item['gravity'] == GRAVITY_PARENT) {
$status = Diaspora::buildStatus($item, $user);
} else {
$status = Diaspora::constructComment($item, $user);
$status = ['type' => 'comment', 'message' => Diaspora::createCommentSignature($item)];
}
$xml = Diaspora::buildPostXml($status["type"], $status["message"]);