System::xmlExit($ret, 'Done');
}
- private static function dispatchPrivate(array $user, array $postdata)
+ private static function dispatchPrivate(array $user, string $postdata)
{
$msg = Diaspora::decodeRaw($postdata, $user['prvkey'] ?? '');
if (!is_array($msg)) {