From eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 16 Jan 2019 14:46:54 +0900 Subject: [PATCH] [Client] Resolve #3895 --- src/client/app/desktop/views/components/timeline.vue | 2 +- src/client/app/mobile/views/pages/home.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/desktop/views/components/timeline.vue b/src/client/app/desktop/views/components/timeline.vue index 110eddfda..dfcac31a7 100644 --- a/src/client/app/desktop/views/components/timeline.vue +++ b/src/client/app/desktop/views/components/timeline.vue @@ -65,7 +65,7 @@ export default Vue.extend({ created() { this.$root.getMeta().then(meta => { - this.enableLocalTimeline = !meta.disableLocalTimeline; + this.enableLocalTimeline = !meta.disableLocalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin; }); if (this.$store.state.device.tl) { diff --git a/src/client/app/mobile/views/pages/home.vue b/src/client/app/mobile/views/pages/home.vue index 33be56fd3..cc3077717 100644 --- a/src/client/app/mobile/views/pages/home.vue +++ b/src/client/app/mobile/views/pages/home.vue @@ -112,7 +112,7 @@ export default Vue.extend({ created() { this.$root.getMeta().then(meta => { - this.enableLocalTimeline = !meta.disableLocalTimeline; + this.enableLocalTimeline = !meta.disableLocalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin; }); if (this.$store.state.device.tl) {