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.

stream_popovers: Use page_params.is_admin while building popover.

aryanshridhar04797d865301
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.js
index 7e9cf80eec5..f322ef703e7 100644
--- a/static/js/stream_popover.js
+++ b/static/js/stream_popover.js
@@ -246,7 +246,7 @@ function build_topic_popover(opts) {
topic_name,
can_mute_topic,
can_unmute_topic,
- is_realm_admin: page_params.is_realm_admin,
+ is_realm_admin: page_params.is_admin,
color: sub.color,
has_starred_messages,
});