リアクション一覧の公開をオプトインに

This commit is contained in:
syuilo
2021-10-18 01:16:59 +09:00
parent 1bfb176667
commit 7413634734
9 changed files with 51 additions and 4 deletions

View File

@@ -75,6 +75,11 @@ export class UserProfile {
})
public emailNotificationTypes: string[];
@Column('boolean', {
default: false,
})
public publicReactions: boolean;
@Column('varchar', {
length: 128, nullable: true,
})

View File

@@ -231,6 +231,7 @@ export class UserRepository extends Repository<User> {
}),
pinnedPageId: profile!.pinnedPageId,
pinnedPage: profile!.pinnedPageId ? Pages.pack(profile!.pinnedPageId, me) : null,
publicReactions: profile!.publicReactions,
twoFactorEnabled: profile!.twoFactorEnabled,
usePasswordLessLogin: profile!.usePasswordLessLogin,
securityKeys: profile!.twoFactorEnabled