Simplify note context

merge-requests/5/head
Terence Eden 2024-02-23 11:44:35 +00:00
rodzic 9160b5f541
commit 89539317ba
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

@ -498,9 +498,6 @@ HTML;
],
"object" => $note
];
// Create the context for the permalink
$note = [ "@context" => "https://www.w3.org/ns/activitystreams", ...$note ];
// Save the permalink
$note_json = json_encode( $note );