Hot fixes nov 15 (#9519)

* Added fortify sync. Removed multiple buy

* Added yesterdaily check

* Fixed checks for running yesterdailies
This commit is contained in:
Keith Holliday
2017-11-17 20:31:29 +11:00
committed by GitHub
parent 0c713ab368
commit dc2269a307
3 changed files with 12 additions and 6 deletions

View File

@@ -373,8 +373,8 @@ export default {
this.$store.state.isRunningYesterdailies = true;
if (!this.user.needsCron) {
this.handleUserNotifications(this.user.notifications);
this.scheduleNextCron();
this.handleUserNotifications(this.user.notifications);
return;
}
@@ -415,8 +415,8 @@ export default {
this.showLevelUpNotifications(this.user.stats.lvl);
}
this.handleUserNotifications(this.user.notifications);
this.scheduleNextCron();
this.handleUserNotifications(this.user.notifications);
},
transferGroupNotification (notification) {
this.$store.state.groupNotifications.push(notification);
@@ -424,6 +424,8 @@ export default {
async handleUserNotifications (after) {
if (!after || after.length === 0 || !Array.isArray(after)) return;
if (this.$store.state.isRunningYesterdailies) return;
let notificationsToRead = [];
let scoreTaskNotification = [];