commit a09b32dd907eb0ca3142772dca95dff3a684785e
parent 9869b29f2a63ee7e42f332f8f6cbe735cf915ca9
Author: default <nobody@localhost>
Date: Mon, 17 Mar 2025 15:06:04 +0100
Fixed bug in bookmarks.csv import.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;