changed data.archetype typo to data.payload.archetype in topic_tracking_state.js.es6

This commit is contained in:
Acshi Haggenmiller 2016-07-29 11:23:00 -04:00
parent d970f4d3d8
commit 26e8eed83b
1 changed files with 1 additions and 1 deletions

View File

@ -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");