mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ const TopicTrackingState = Discourse.Model.extend({
|
||||||
|
|
||||||
notify(data) {
|
notify(data) {
|
||||||
if (!this.newIncoming) { return; }
|
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 filter = this.get("filter");
|
||||||
const filterCategory = this.get("filterCategory");
|
const filterCategory = this.get("filterCategory");
|
||||||
|
|
Loading…
Reference in a new issue