Update AppDelegate.swift

This commit is contained in:
Kylmakalle 2025-02-04 03:21:27 +02:00
parent 5e5725d18b
commit 8ec752b3be

View File

@ -3145,6 +3145,7 @@ extension AppDelegate {
}
func fetchSGStatus(primaryContext: AccountContext) async {
// TODO(swiftgram): Stuck on getting shouldKeepConnection
// let currentShouldKeepConnection = await (primaryContext.account.network.shouldKeepConnection.get() |> take(1) |> deliverOnMainQueue).awaitable()
let currentShouldKeepConnection = false
let userId = primaryContext.account.peerId.id._internalGetInt64Value()