Skip to content

Commit

Permalink
Fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Oct 27, 2024
1 parent 670e6cf commit c7ed14f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions feed-parsers/class-feed-parser-activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ public function mastodon_api_status_add_reblogs( $status, $post_id, $request ) {
return $status;
}

$account = false;
$meta = get_post_meta( $post_id, self::SLUG, true );
if ( isset( $meta['attributedTo']['id'] ) && $meta['attributedTo']['id'] ) {
if ( isset( $meta['reblog'] ) && $meta['reblog'] ) {
Expand Down

0 comments on commit c7ed14f

Please sign in to comment.