summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-01-16 14:46:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-01-16 14:46:54 +0900
commiteb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1 (patch)
tree7d4988e331be1309022921a067f77630e05f3f82 /src
parent10.76.0 (diff)
downloadsharkey-eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1.tar.gz
sharkey-eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1.tar.bz2
sharkey-eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1.zip
[Client] Resolve #3895
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/timeline.vue2
-rw-r--r--src/client/app/mobile/views/pages/home.vue2
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 110eddfdae..dfcac31a7f 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 33be56fd3d..cc30777177 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) {