Small tweaks

This commit is contained in:
Jon Staab
2026-04-01 14:07:29 -07:00
parent 6feeb23b1f
commit 25a69a8191
4 changed files with 11 additions and 7 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import {throttle} from "throttle-debounce"
import {App} from "@capacitor/app"
import {registerPlugin} from "@capacitor/core"
import {pubkey, getSession} from "@welshman/app"
import {session} from "@welshman/app"
import type {Session} from "@welshman/app"
import {maybe, now} from "@welshman/lib"
import type {Filter} from "@welshman/util"
@@ -44,7 +44,7 @@ export class AndroidFallbackNotifications implements IPushAdapter {
const doSync = throttle(1000, () => {
AndroidPushFallback.syncState({
state: {
session: pubkey.get() ? getSession(pubkey.get()!) : undefined,
session: session.get(),
activeSince: this._activeSince,
subscriptions: Array.from(this._subscriptions.values()),
},