mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user