bind apple notification sender methods

This commit is contained in:
2025-03-31 18:56:02 -07:00
parent 75a4e133ed
commit 02b3b77a61

View File

@@ -17,6 +17,9 @@ export class AppleNotificationSender {
private _lastRefreshedTimeMs: number | undefined = undefined;
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 {