mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
bind apple notification sender methods
This commit is contained in:
@@ -17,6 +17,9 @@ export class AppleNotificationSender {
|
|||||||
private _lastRefreshedTimeMs: number | undefined = undefined;
|
private _lastRefreshedTimeMs: number | undefined = undefined;
|
||||||
|
|
||||||
constructor(private shouldActuallySendNotifications = true) {
|
constructor(private shouldActuallySendNotifications = true) {
|
||||||
|
this.sendNotificationImmediately = this.sendNotificationImmediately.bind(this);
|
||||||
|
this.lastReloadedTimeForAPNsIsTooRecent = this.lastReloadedTimeForAPNsIsTooRecent.bind(this);
|
||||||
|
this.reloadAPNsTokenIfTimePassed = this.reloadAPNsTokenIfTimePassed.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
get lastRefreshedTimeMs(): number | undefined {
|
get lastRefreshedTimeMs(): number | undefined {
|
||||||
|
|||||||
Reference in New Issue
Block a user