/**
* Receive a public Diaspora posting
*
+ * @return void
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
$this->logger->info('Diaspora: Dispatching.');
- Diaspora::dispatchPublic($msg);
+ Diaspora::dispatchPublic($msg, Diaspora::PUSHED);
}
/**
* Receive a Diaspora posting for a user
*
+ * @return void
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
- private function decodePost(bool $public = true, string $privKey = '')
+ private function decodePost(bool $public = true, string $privKey = ''): array
{
if (empty($_POST['xml'])) {