fix #135
This commit is contained in:
parent
338200b386
commit
8733957963
1 changed files with 3 additions and 1 deletions
|
@ -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'] );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue