This commit is contained in:
Matthias Pfefferle 2022-01-17 11:03:30 +01:00 committed by Django Doucet
parent 338200b386
commit 8733957963

View file

@ -55,8 +55,10 @@ class Activity {
$this->actor = $object['attributedTo'];
}
$type = \strtolower( $this->type );
if ( isset( $object['id'] ) ) {
$this->id = $object['id'];
$this->id = add_query_arg( 'activity', $type, $object['id'] );
}
}