fix: ffVisibility
This commit is contained in:
parent
ce7602bf30
commit
1d414361fe
@ -563,8 +563,8 @@ export class UserEntityService implements OnModuleInit {
|
|||||||
pinnedPageId: profile?.pinnedPageId,
|
pinnedPageId: profile?.pinnedPageId,
|
||||||
pinnedPage: profile?.pinnedPageId ? this.pageEntityService.pack(profile.pinnedPageId, me) : null,
|
pinnedPage: profile?.pinnedPageId ? this.pageEntityService.pack(profile.pinnedPageId, me) : null,
|
||||||
publicReactions: this.isLocalUser(user) ? profile?.publicReactions : false, // https://github.com/misskey-dev/misskey/issues/12964
|
publicReactions: this.isLocalUser(user) ? profile?.publicReactions : false, // https://github.com/misskey-dev/misskey/issues/12964
|
||||||
followersVisibility: profile?.followersVisibility && user.host == null,
|
followersVisibility: user.host == null ? profile?.followersVisibility : 'private',
|
||||||
followingVisibility: profile?.followingVisibility && user.host == null,
|
followingVisibility: user.host == null ? profile?.followingVisibility : 'private',
|
||||||
twoFactorEnabled: profile?.twoFactorEnabled,
|
twoFactorEnabled: profile?.twoFactorEnabled,
|
||||||
usePasswordLessLogin: profile?.usePasswordLessLogin,
|
usePasswordLessLogin: profile?.usePasswordLessLogin,
|
||||||
securityKeys: profile?.twoFactorEnabled
|
securityKeys: profile?.twoFactorEnabled
|
||||||
|
Loading…
Reference in New Issue
Block a user