mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
message_edit: Make topic editing independent of allow_message_editing.
We now allow editing stream and topic of message even if allow_message_editing if False using webapp given that is allowed as per other topic and stream edit specific settings. Fixes a part of #21739.
This commit is contained in:
@@ -173,7 +173,6 @@ function set_timestr(message_container) {
|
||||
}
|
||||
|
||||
function set_topic_edit_properties(group, message) {
|
||||
group.realm_allow_message_editing = page_params.realm_allow_message_editing;
|
||||
group.always_visible_topic_edit = false;
|
||||
group.on_hover_topic_edit = false;
|
||||
// if a user who can edit a topic, can resolve it as well
|
||||
|
||||
Reference in New Issue
Block a user