changed data.archetype typo to data.payload.archetype in topic_tracking_state.js.es6
This commit is contained in:
parent
d970f4d3d8
commit
26e8eed83b
|
@ -103,7 +103,7 @@ const TopicTrackingState = Discourse.Model.extend({
|
|||
|
||||
notify(data) {
|
||||
if (!this.newIncoming) { return; }
|
||||
if (data.archetype === "private_message") { return; }
|
||||
if (data.payload && data.payload.archetype === "private_message") { return; }
|
||||
|
||||
const filter = this.get("filter");
|
||||
const filterCategory = this.get("filterCategory");
|
||||
|
|
Loading…
Reference in New Issue