mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 14:32:44 +08:00
Merge pull request #4356 from acshi/datapayloadarchetype
data.archetype should be data.payload.archetype in topic_tracking_state.js.es6
This commit is contained in:
commit
0fa458c5a7
|
@ -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
Block a user