fix #135
This commit is contained in:
parent
7b262fd613
commit
f677d1a7d4
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