From ea812ea05d764a1a83022fc3be70dc8b31a30626 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 5 Mar 2018 18:51:57 +0100 Subject: [PATCH] FIX: regression preventing the display of `replying...` in the composer --- .../discourse/components/composer-presence-display.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 b/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 index 14654a0fcea..460de128e49 100644 --- a/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 +++ b/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 @@ -68,7 +68,7 @@ export default Ember.Component.extend({ this.clear(); - if (this.get('action') !== 'reply' || this.get('action') !== 'edit') { + if (!['reply', 'edit'].includes(this.get('action'))) { return; }