Browse Source

Fixed bug in bookmarks.csv import.

default 1 week ago
parent
commit
a09b32dd90
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils.c

+ 1 - 1
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;