diff --git a/static/js/echo.js b/static/js/echo.js index ecbaacaa8a..6ca2c7729b 100644 --- a/static/js/echo.js +++ b/static/js/echo.js @@ -136,6 +136,10 @@ exports.try_deliver_locally = function try_deliver_locally(message_request) { return undefined; } + if (narrow.active() && !narrow.filter().can_apply_locally()) { + return undefined; + } + return insert_local_message(message_request, next_local_id); };