Skip to content

A platform for community discussion. Free, open, simple.

FIX: regression preventing the display of `replying...` in the composer

Joffrey JAFFEUXea812ea05d76
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;
}