stacker.news/prisma
SatsAllDay cd3dbeb19b
Automatically subscribe forward users to threads (#464)
* Automatically subscribe forward users to threads

Update create and update item sql functions to subscribe forward
recipients to the post

When the post is updated, ensure that if a forward user has already unsubscribed, keep it that way. Also ensure that any forward users that are no longer forward users are removed from subscription

* Preserve thread subs from non-fwd users during post edit

* use EXISTS to make a little clearer

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-09-11 19:08:31 -05:00
..
migrations Automatically subscribe forward users to threads (#464) 2023-09-11 19:08:31 -05:00
schema.prisma Add new visitor welcome banner (#418) 2023-09-11 16:29:45 -05:00
seed.js Remove OP badge for comments by anon on posts by anon (#422) 2023-08-19 16:03:07 -05:00