Skip to content

Commit

Permalink
1.7.8 (306)
Browse files Browse the repository at this point in the history
  • Loading branch information
denis15yo committed Sep 2, 2024
1 parent 7dd0108 commit ca5570b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 15 deletions.
1 change: 0 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ bazel_dep(
name = "rules_swift_package_manager",
version = "0.36.0",
)

bazel_dep(
name = "apple_support",
version = "0.0.0",
Expand Down
35 changes: 30 additions & 5 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"location" : "git@bitbucket.org:mobyrix/nicegram-wallet-ios.git",
"state" : {
"branch" : "develop",
"revision" : "43faf7aad4025ea1bfe511ebfa8973657b5048af"
"revision" : "e1784450f5de2a47d88a52bdb2a91136619e0ed6"
}
},
{
Expand Down
11 changes: 3 additions & 8 deletions submodules/TelegramCore/Sources/Network/Network.swift
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ func initializedNetwork(accountId: AccountRecordId, arguments: NetworkInitializa
} else {
useNetworkFramework = false
}

if useNetworkFramework {
// MARK: Nicegram waiting network bug
if useNetworkFramework || true {
if #available(iOS 12.0, macOS 14.0, *) {
context.makeTcpConnectionInterface = { delegate, delegateQueue in
return NetworkFrameworkTcpConnectionInterface(delegate: delegate, delegateQueue: delegateQueue)
Expand Down Expand Up @@ -1200,12 +1200,7 @@ public final class Network: NSObject, MTRequestMessageServiceDelegate {
}
}

// MARK: Nicegram waiting network bug
public func restartProto() {
mtProto.pause()
mtProto.resume()
}

// MARK: Nicegram waiting network bug
public func simulateDisconnection() {
mtProto.simulateDisconnection()
mtProto.resume()
Expand Down

0 comments on commit ca5570b

Please sign in to comment.