deprecate outbound JSalmon signatures

This commit is contained in:
Mario
2025-11-04 10:45:15 +00:00
parent 6427e84053
commit 2f377089e6

View File

@@ -116,10 +116,6 @@ class Libzot {
}
if ($msg) {
$actors = get_hubloc_id_urls_by_x($channel['channel_hash']);
if ($encoding === 'activitystreams' && array_key_exists('actor', $msg) && is_string($msg['actor']) && in_array($msg['actor'], $actors)) {
$msg = JSalmon::sign($msg, $actors[0], $channel['channel_prvkey']);
}
$data['data'] = $msg;
}
else {