Remove shouldReconnectIfConnectedElsewhere

This commit is contained in:
Max Radermacher
2025-07-25 12:44:10 -05:00
committed by GitHub
parent d026f3ae5c
commit 1482ef24f0
7 changed files with 24 additions and 54 deletions

View File

@@ -141,7 +141,7 @@ public class ShareViewController: UIViewController, ShareViewDelegate, SAEFailed
// We need the unidentified connection for bulk identity key lookups.
if OWSChatConnection.canAppUseSocketsToMakeRequests {
let chatConnectionManager = DependenciesBridge.shared.chatConnectionManager
self.connectionTokens.append(chatConnectionManager.requestUnidentifiedConnection(shouldReconnectIfConnectedElsewhere: true))
self.connectionTokens.append(chatConnectionManager.requestUnidentifiedConnection())
}
let conversationPicker: SharingThreadPickerViewController
@@ -291,7 +291,7 @@ public class ShareViewController: UIViewController, ShareViewDelegate, SAEFailed
public func shareViewWillSend() {
if OWSChatConnection.canAppUseSocketsToMakeRequests {
let chatConnectionManager = DependenciesBridge.shared.chatConnectionManager
self.connectionTokens.append(chatConnectionManager.requestIdentifiedConnection(shouldReconnectIfConnectedElsewhere: true))
self.connectionTokens.append(chatConnectionManager.requestIdentifiedConnection())
}
}