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.

minor: Use page_params.is_realm_admin.

Steve Howell9c9d74fd6dc2
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.js
index 49bc940c0a9..6af5a95dee3 100644
--- a/static/js/stream_popover.js
+++ b/static/js/stream_popover.js
@@ -245,7 +245,7 @@ function build_topic_popover(opts) {
topic_name,
can_mute_topic,
can_unmute_topic,
- is_realm_admin: sub.is_realm_admin,
+ is_realm_admin: page_params.is_realm_admin,
color: sub.color,
has_starred_messages,
});