mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
fix notification spam
This commit is contained in:
+16
-11
@@ -2113,20 +2113,25 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
this.isNotificationsLoading = true;
|
this.isNotificationsLoading = true;
|
||||||
this.expireNotifications();
|
this.expireNotifications();
|
||||||
this.bulk({
|
this.expireNotifications();
|
||||||
fn: 'getNotifications',
|
this.getNotifications({ n: 100 }).then(() => {
|
||||||
N: -1,
|
|
||||||
params: {
|
|
||||||
n: 50,
|
|
||||||
offset: 0
|
|
||||||
},
|
|
||||||
done(ok) {
|
|
||||||
if (ok) {
|
|
||||||
this.deleteExpiredNotifcations();
|
this.deleteExpiredNotifcations();
|
||||||
}
|
|
||||||
this.isNotificationsLoading = false;
|
this.isNotificationsLoading = false;
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
// this.bulk({
|
||||||
|
// fn: 'getNotifications',
|
||||||
|
// N: -1,
|
||||||
|
// params: {
|
||||||
|
// n: 50,
|
||||||
|
// offset: 0
|
||||||
|
// },
|
||||||
|
// done(ok) {
|
||||||
|
// if (ok) {
|
||||||
|
// this.deleteExpiredNotifcations();
|
||||||
|
// }
|
||||||
|
// this.isNotificationsLoading = false;
|
||||||
|
// }
|
||||||
|
// });
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user