mirror of https://github.com/zulip/zulip.git
Don't set realm filters unless we have local echo
(imported from commit bbb7d87a869d6f1bd99a45581f8f557a97f30cce)
This commit is contained in:
parent
6fff91493c
commit
78f0cc1c4d
|
@ -342,6 +342,9 @@ function python_to_js_filter(pattern, url) {
|
||||||
|
|
||||||
exports.set_realm_filters = function set_realm_filters(realm_filters) {
|
exports.set_realm_filters = function set_realm_filters(realm_filters) {
|
||||||
// Update the marked parser with our particular set of realm filters
|
// Update the marked parser with our particular set of realm filters
|
||||||
|
if (!page_params.local_echo) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
realm_filter_map = {};
|
realm_filter_map = {};
|
||||||
realm_filter_list = [];
|
realm_filter_list = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue