diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-17 15:30:26 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-17 15:30:26 +0900 |
| commit | 68571d8f577e0a9eb8679e8dd30e11d8b1709340 (patch) | |
| tree | 623ad0865b76cdb8a4551042530655ef7c22c754 /src/client | |
| parent | Improve client (diff) | |
| download | misskey-68571d8f577e0a9eb8679e8dd30e11d8b1709340.tar.gz misskey-68571d8f577e0a9eb8679e8dd30e11d8b1709340.tar.bz2 misskey-68571d8f577e0a9eb8679e8dd30e11d8b1709340.zip | |
Implement user online status
Resolve #7422
Fix #7424
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/pages/settings/privacy.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/pages/settings/privacy.vue b/src/client/pages/settings/privacy.vue index 0542c527f9..c8df378410 100644 --- a/src/client/pages/settings/privacy.vue +++ b/src/client/pages/settings/privacy.vue @@ -5,6 +5,10 @@ <FormSwitch v-model:value="autoAcceptFollowed" :disabled="!isLocked" @update:value="save()">{{ $ts.autoAcceptFollowed }}</FormSwitch> <template #caption>{{ $ts.lockedAccountInfo }}</template> </FormGroup> + <FormSwitch v-model:value="hideOnlineStatus" @update:value="save()"> + {{ $ts.hideOnlineStatus }} + <template #desc>{{ $ts.hideOnlineStatusDescription }}</template> + </FormSwitch> <FormSwitch v-model:value="noCrawle" @update:value="save()"> {{ $ts.noCrawle }} <template #desc>{{ $ts.noCrawleDescription }}</template> @@ -58,6 +62,7 @@ export default defineComponent({ autoAcceptFollowed: false, noCrawle: false, isExplorable: false, + hideOnlineStatus: false, } }, @@ -72,6 +77,7 @@ export default defineComponent({ this.autoAcceptFollowed = this.$i.autoAcceptFollowed; this.noCrawle = this.$i.noCrawle; this.isExplorable = this.$i.isExplorable; + this.hideOnlineStatus = this.$i.hideOnlineStatus; }, mounted() { @@ -85,6 +91,7 @@ export default defineComponent({ autoAcceptFollowed: !!this.autoAcceptFollowed, noCrawle: !!this.noCrawle, isExplorable: !!this.isExplorable, + hideOnlineStatus: !!this.hideOnlineStatus, }); } } |