diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 20:11:00 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 20:11:00 +0900 |
| commit | 65e5cfa68eee619843192f3bf2a3e901a0910101 (patch) | |
| tree | 6ed53b64d96371a5543208b5815718492aebe753 /src/models/user.ts | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | sharkey-65e5cfa68eee619843192f3bf2a3e901a0910101.tar.gz sharkey-65e5cfa68eee619843192f3bf2a3e901a0910101.tar.bz2 sharkey-65e5cfa68eee619843192f3bf2a3e901a0910101.zip | |
Resolve #2853
Diffstat (limited to 'src/models/user.ts')
| -rw-r--r-- | src/models/user.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/models/user.ts b/src/models/user.ts index e0ce561421..6ca09ca168 100644 --- a/src/models/user.ts +++ b/src/models/user.ts @@ -66,6 +66,16 @@ type IUserBase = { isLocked: boolean; /** + * Botか否か + */ + isBot: boolean; + + /** + * Botからのフォローを承認制にするか + */ + carefulBot: boolean; + + /** * このアカウントに届いているフォローリクエストの数 */ pendingReceivedFollowRequestsCount: number; @@ -94,7 +104,6 @@ export interface ILocalUser extends IUserBase { tags: string[]; }; lastUsedAt: Date; - isBot: boolean; isCat: boolean; isAdmin?: boolean; isVerified?: boolean; |