diff options
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) | |||
| 1583 | } | 1583 | } |
| 1584 | 1584 | ||
| 1585 | 1585 | ||
| 1586 | xs_list *bookmark_list(snac *user) | ||
| 1587 | /* return the lists of bookmarked posts */ | ||
| 1588 | { | ||
| 1589 | return object_user_cache_list(user, "bookmark", XS_ALL, 1); | ||
| 1590 | } | ||
| 1591 | |||
| 1592 | |||
| 1586 | /** pinning **/ | 1593 | /** pinning **/ |
| 1587 | 1594 | ||
| 1588 | int is_pinned(snac *user, const char *id) | 1595 | int is_pinned(snac *user, const char *id) |