mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Update AppDelegate.swift
This commit is contained in:
parent
5e5725d18b
commit
8ec752b3be
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user