aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index b799813..cd486f2 100644
--- a/utils.c
+++ b/utils.c
@@ -881,7 +881,7 @@ void import_csv(snac *user)
if (*l) {
xs *post = NULL;
- if (!object_get(l, &post)) {
+ if (!valid_status(object_get(l, &post))) {
if (!valid_status(activitypub_request(user, l, &post))) {
snac_log(user, xs_fmt("Error getting object %s for bookmarking", l));
continue;