Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

popovers: Offer edit history option for stream moves.

Tim Abbott03d34397840a
diff --git a/static/js/popovers.js b/static/js/popovers.js
index 9ef69dba4df..ae1110bc754 100644
--- a/static/js/popovers.js
+++ b/static/js/popovers.js
@@ -480,6 +480,7 @@ export function toggle_actions_popover(element, id) {
message.edit_history.some(
(entry) =>
entry.prev_content !== undefined ||
+ entry.prev_stream !== undefined ||
util.get_edit_event_prev_topic(entry) !== undefined,
) &&
page_params.realm_allow_edit_history &&