From a09b32dd907eb0ca3142772dca95dff3a684785e Mon Sep 17 00:00:00 2001 From: default Date: Mon, 17 Mar 2025 15:06:04 +0100 Subject: Fixed bug in bookmarks.csv import. --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.c') 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; -- cgit v1.2.3