diff options
| author | Sergey Suprunenko <suprunenko.s@gmail.com> | 2019-08-17 08:18:42 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-08-17 08:18:42 +0000 |
| commit | d74f6ed6eaf3eeef263d9bf7ec7c73bd4298cced (patch) | |
| tree | b34f5358d3e87a845c78b1206c8b42b43b4967dd /src/components/features_panel | |
| parent | 58713e342d96e6ed0d22c107ab2279e51c2bf959 (diff) | |
Initialize chat only if user is logged in and it wasn't initialized before
Diffstat (limited to 'src/components/features_panel')
| -rw-r--r-- | src/components/features_panel/features_panel.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js index 5f0b7b25..5f80a079 100644 --- a/src/components/features_panel/features_panel.js +++ b/src/components/features_panel/features_panel.js @@ -1,8 +1,6 @@ const FeaturesPanel = { computed: { - chat: function () { - return this.$store.state.instance.chatAvailable && (!this.$store.state.chatDisabled) - }, + chat: function () { return this.$store.state.instance.chatAvailable }, gopher: function () { return this.$store.state.instance.gopherAvailable }, whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled }, mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable }, |
