]> Untitled Git - lemmy.git/commit
In activity table, remove `user_id` and add `sensitive` (#127)
authornutomic <nutomic@noreply.yerbamate.ml>
Fri, 6 Nov 2020 13:06:47 +0000 (13:06 +0000)
committerdessalines <dessalines@noreply.yerbamate.ml>
Fri, 6 Nov 2020 13:06:47 +0000 (13:06 +0000)
commit7c51a36012b02796fc23eae803cb034142ddc442
tree3fc480aaaa9cbafbc021dcc6b69680a65c57a244
parentb7d2dac9bfaa29cbc5fd7a9eb25f239cfb2bc52b
In activity table, remove `user_id` and add `sensitive` (#127)

Forgot to add migrations

Add `sensitive` column to activities table, so PMs arent served over HTTP

Remove user_id column from actvity table

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/127
12 files changed:
lemmy_apub/src/activities/send/community.rs
lemmy_apub/src/activities/send/user.rs
lemmy_apub/src/activity_queue.rs
lemmy_apub/src/http/mod.rs
lemmy_apub/src/inbox/community_inbox.rs
lemmy_apub/src/inbox/shared_inbox.rs
lemmy_apub/src/inbox/user_inbox.rs
lemmy_apub/src/lib.rs
lemmy_db/src/activity.rs
lemmy_db/src/schema.rs
migrations/2020-11-05-152724_activity_remove_user_id/down.sql [new file with mode: 0644]
migrations/2020-11-05-152724_activity_remove_user_id/up.sql [new file with mode: 0644]