lemmy/migrations/2024-02-28-144211_hide_posts
Dessalines 87b577467b
Adding ability to hide posts. (#4480)
* Adding ability to hide posts.

- Adds an post/hide API route.
- Adds a `show_hidden` (default false) to `GetPosts`.
- Adds a `hidden` field to `PostView`.
- Removes the single `post_id` from MarkPostAsRead.
- Fixes #1403

* Add a check to make sure hidden field is true.

* Fixing test.

* Add back semicolon
2024-02-29 10:42:34 -05:00
..
down.sql Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
up.sql Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00