Simplify note context
rodzic
9160b5f541
commit
89539317ba
|
@ -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 );
|
||||
|
|
Ładowanie…
Reference in New Issue