Skip to content

Commit f677d1a

Browse files
committed
fix #135
1 parent 7b262fd commit f677d1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

includes/model/class-activity.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ public function from_post( $object ) {
5555
$this->actor = $object['attributedTo'];
5656
}
5757

58+
$type = \strtolower( $this->type );
59+
5860
if ( isset( $object['id'] ) ) {
59-
$this->id = $object['id'];
61+
$this->id = add_query_arg( 'activity', $type, $object['id'] );
6062
}
6163
}
6264

0 commit comments

Comments
 (0)