mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
feat!: disable stream notifications and use cachet
This commit is contained in:
@@ -53,7 +53,7 @@ export async function GET(request: Request): Promise<Response> {
|
||||
data: {
|
||||
id: userId,
|
||||
slack_id: slackUser.sub,
|
||||
pfpUrl: slackUser.picture,
|
||||
pfpUrl: `https://cachet.dunkirk.sh/users/${slackUser.sub}/r`,
|
||||
hasOnboarded: false,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Follow" ALTER COLUMN "notifyStream" SET DEFAULT false;
|
||||
|
||||
UPDATE "Follow" SET "notifyStream" = false;
|
||||
@@ -91,7 +91,7 @@ model Follow {
|
||||
channel Channel @relation("ChannelFollowers", fields: [channelId], references: [id], onDelete: Cascade)
|
||||
channelId String
|
||||
|
||||
notifyStream Boolean @default(true)
|
||||
notifyStream Boolean @default(false)
|
||||
|
||||
@@unique([userId, channelId])
|
||||
@@index([userId])
|
||||
|
||||
Reference in New Issue
Block a user