diff options
-rw-r--r-- | service/pixelated/resources/features_resource.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/resources/features_resource.py b/service/pixelated/resources/features_resource.py index 0770d867..7b2e6490 100644 --- a/service/pixelated/resources/features_resource.py +++ b/service/pixelated/resources/features_resource.py @@ -26,8 +26,8 @@ class FeaturesResource(Resource): disabled_features = ['draftReply'] dispatcher_features = {'logout': os.environ.get('DISPATCHER_LOGOUT_URL')} - if not os.environ.get('FEEDBACK_ENABLE'): - self.DISABLED_FEATURES.append('feedback') + if os.environ.get('FEEDBACK_ENABLE') is None: + disabled_features.append('feedback') return respond_json( {'disabled_features': disabled_features, 'dispatcher_features': dispatcher_features}, request) |