diff options
author | default <nobody@localhost> | 2024-08-29 07:45:22 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-08-29 07:45:22 +0200 |
commit | 8ea199a9966fd661762de89fbbe7313de318872f (patch) | |
tree | 79dc7cd51de9a72dc4d592e7a18c0881d9008786 /data.c | |
parent | 0c3c79f0b9df136c8e676abb8e0a70a829e3b4b5 (diff) |
The list of bookmarked posts also work.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1583,6 +1583,13 @@ int unbookmark(snac *user, const char *id) } +xs_list *bookmark_list(snac *user) +/* return the lists of bookmarked posts */ +{ + return object_user_cache_list(user, "bookmark", XS_ALL, 1); +} + + /** pinning **/ int is_pinned(snac *user, const char *id) |