From 2d8238f2869adfddb6fdae8e5f9d43dedc4e5d99 Mon Sep 17 00:00:00 2001 From: Diana Nilsson Date: Thu, 27 Jun 2024 10:53:17 +0200 Subject: [PATCH] Add missing entries to UserSettings --- src/util/entities/UserSettings.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/util/entities/UserSettings.ts b/src/util/entities/UserSettings.ts index 0d5d9aad2..0d4b6a7b7 100644 --- a/src/util/entities/UserSettings.ts +++ b/src/util/entities/UserSettings.ts @@ -63,6 +63,9 @@ export class UserSettings extends BaseClassWithoutId { @Column({ nullable: true }) explicit_content_filter: number = 0; + @Column({ nullable: true }) + friend_discovery_flags: number = 0; + @Column({ nullable: true, type: "simple-json" }) friend_source_flags: FriendSourceFlags = { all: true }; @@ -116,6 +119,10 @@ export class UserSettings extends BaseClassWithoutId { @Column({ nullable: true }) timezone_offset: number = 0; // e.g -60 + + @Column({ nullable: true }) + view_nsfw_guilds: boolean = true; + } interface CustomStatus {