mirror of https://github.com/zulip/zulip.git
Don't allow editing of in-flight locally delivered messages
(imported from commit 771ba4910a8f8e50803baa5f7ec75208077ed2dd)
This commit is contained in:
parent
883122b129
commit
34722de1da
|
@ -56,7 +56,7 @@ exports.toggle_actions_popover = function (element, id) {
|
|||
var elt = $(element);
|
||||
if (elt.data('popover') === undefined) {
|
||||
var message = current_msg_list.get(id);
|
||||
var can_edit = message.sent_by_me && !feature_flags.disable_message_editing;
|
||||
var can_edit = message.sent_by_me && message.local_id === undefined && !feature_flags.disable_message_editing;
|
||||
var can_mute_topic =
|
||||
message.stream &&
|
||||
message.subject &&
|
||||
|
|
Loading…
Reference in New Issue