This commit is contained in:
Matthias Pfefferle 2022-01-17 11:03:30 +01:00
parent 7b262fd613
commit f677d1a7d4

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'] );
}
}