From 26e8eed83bc14fe066f698168b90aa77611ed813 Mon Sep 17 00:00:00 2001 From: Acshi Haggenmiller Date: Fri, 29 Jul 2016 11:23:00 -0400 Subject: [PATCH] changed data.archetype typo to data.payload.archetype in topic_tracking_state.js.es6 --- .../javascripts/discourse/models/topic-tracking-state.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 b/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 index d07825a6aa2..16513b74b10 100644 --- a/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 +++ b/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 @@ -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");