mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
Comment
This commit is contained in:
parent
8ec752b3be
commit
1e08d67322
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user