Browse Source

fix in-reply-to on twitter import

dependabot/composer/firebase/php-jwt-6.0.0
Aaron Parecki 2 years ago
parent
commit
dfb8c03a85
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/controllers.php

+ 1
- 1
controllers/controllers.php View File

@ -524,7 +524,7 @@ function tweet_to_micropub_request($tweet) {
] ]
]; ];
if(isset($tweet['in-reply-to'])) if(isset($tweet['in-reply-to']))
$postdata['properties']['in-reply-to'] = [$tweet['in-reply-to']];
$postdata['properties']['in-reply-to'] = $tweet['in-reply-to'];
if(isset($tweet['category'])) if(isset($tweet['category']))
$postdata['properties']['category'] = $tweet['category']; $postdata['properties']['category'] = $tweet['category'];
if(isset($tweet['photo'])) if(isset($tweet['photo']))

Loading…
Cancel
Save