summaryrefslogtreecommitdiff
path: root/controllers/controllers.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2022-09-27 00:34:07 +0000
committerAaron Parecki <aaron@parecki.com>2022-09-27 00:34:07 +0000
commitdfb8c03a85318c9e670b8dacddb210025163501e (patch)
tree5e140d349d6af3cf181f75d190b1a656e7a9b54d /controllers/controllers.php
parent5f26695baf866861023a3f2e571bca12e74720df (diff)
fix in-reply-to on twitter import
Diffstat (limited to 'controllers/controllers.php')
-rw-r--r--controllers/controllers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/controllers.php b/controllers/controllers.php
index bcfe2d0..b213f5b 100644
--- a/controllers/controllers.php
+++ b/controllers/controllers.php
@@ -524,7 +524,7 @@ function tweet_to_micropub_request($tweet) {
]
];
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']))
$postdata['properties']['category'] = $tweet['category'];
if(isset($tweet['photo']))