diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 16:49:23 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 16:49:23 +0900 |
| commit | 9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed (patch) | |
| tree | 9bae26e351d3cc849b8f38823a3907e9e6b87d13 /src/server/api/endpoints/i | |
| parent | Fix #6819 (diff) | |
| download | sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.tar.gz sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.tar.bz2 sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.zip | |
autoWatch機能を削除
Diffstat (limited to 'src/server/api/endpoints/i')
| -rw-r--r-- | src/server/api/endpoints/i/update.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/api/endpoints/i/update.ts b/src/server/api/endpoints/i/update.ts index 2029f2b4b6..d3a8e0a8ce 100644 --- a/src/server/api/endpoints/i/update.ts +++ b/src/server/api/endpoints/i/update.ts @@ -120,13 +120,6 @@ export const meta = { } }, - autoWatch: { - validator: $.optional.bool, - desc: { - 'ja-JP': '投稿の自動ウォッチをするか否か' - } - }, - injectFeaturedNote: { validator: $.optional.bool, }, @@ -212,7 +205,6 @@ export default define(meta, async (ps, user, token) => { if (typeof ps.carefulBot === 'boolean') profileUpdates.carefulBot = ps.carefulBot; if (typeof ps.autoAcceptFollowed === 'boolean') profileUpdates.autoAcceptFollowed = ps.autoAcceptFollowed; if (typeof ps.isCat === 'boolean') updates.isCat = ps.isCat; - if (typeof ps.autoWatch === 'boolean') profileUpdates.autoWatch = ps.autoWatch; if (typeof ps.injectFeaturedNote === 'boolean') profileUpdates.injectFeaturedNote = ps.injectFeaturedNote; if (typeof ps.alwaysMarkNsfw === 'boolean') profileUpdates.alwaysMarkNsfw = ps.alwaysMarkNsfw; |