zulip/static/js/feature_flags.js

23 lines
558 B
JavaScript
Raw Normal View History

var feature_flags = (function () {
var exports = {};
exports.mark_read_at_bottom = page_params.staging;
exports.summarize_read_while_narrowed = page_params.staging;
exports.twenty_four_hour_time = _.contains([],
page_params.email);
exports.dropbox_integration = page_params.staging || _.contains(['dropbox.com'], page_params.domain);
exports.email_forwarding = page_params.staging;
exports.mandatory_topics = _.contains([
'zulip.com',
'customer7.invalid'
],
page_params.domain
);
return exports;
}());