This commit is contained in:
Kylmakalle 2025-02-04 20:37:12 +02:00
parent 8ec752b3be
commit 1e08d67322

View File

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