Add realm setting to disable message editing.

This is controlled through the admin tab and a new field in the Realms
table.  This mirrors the behavior of the old hardcoded setting
feature_flags.disable_message_editing.  Partially resolves #903.
This commit is contained in:
Rishi Gupta
2016-06-21 12:34:41 -07:00
committed by Tim Abbott
parent 07e7230ae1
commit 43c2f35776
14 changed files with 269 additions and 17 deletions

View File

@@ -11,9 +11,6 @@ exports.collect_send_times = false;
exports.use_socket = true;
exports.local_echo = true;
// Permanent realm-specific stuff:
exports.disable_message_editing = _.contains(['mit.edu'], page_params.domain);
// Experimental modification to support much wider message views.
exports.full_width = false;