mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 01:10:09 +00:00
Update submodules
This commit is contained in:
parent
f18db8e058
commit
f16dd8dc6a
@ -278,28 +278,6 @@ final class WatchPeerInfoHandler: WatchRequestHandler {
|
||||
}
|
||||
} else if let _ = subscription as? TGBridgeUserBotInfoSubscription {
|
||||
return SSignal.complete()
|
||||
// return SSignal { subscriber in
|
||||
// let signal = manager.accountContext.get()
|
||||
// |> take(1)
|
||||
// |> mapToSignal({ account -> Signal<PeerView, NoError> in
|
||||
// if let account = account, let userId = args.userIds.first as? Int64, let peerId = makePeerIdFromBridgeIdentifier(userId) {
|
||||
// return peerCommands(account: account, id: peerId)
|
||||
// } else {
|
||||
// return .complete()
|
||||
// }
|
||||
// })
|
||||
// let disposable = signal.start(next: { view in
|
||||
// if let user = makeBridgeUser(peerViewMainPeer(view), presence: view.peerPresences[view.peerId], cachedData: view.cachedData) {
|
||||
// subscriber?.putNext([user.identifier: user])
|
||||
// } else {
|
||||
// subscriber?.putCompletion()
|
||||
// }
|
||||
// })
|
||||
//
|
||||
// return SBlockDisposable {
|
||||
// disposable.dispose()
|
||||
// }
|
||||
// }
|
||||
} else if let args = subscription as? TGBridgeConversationSubscription {
|
||||
return SSignal { subscriber in
|
||||
let signal = manager.accountContext.get() |> take(1) |> mapToSignal({ context -> Signal<PeerView, NoError> in
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 3062f0548f2031cb12353c3cba834446c1513228
|
||||
Subproject commit 32cd282659247d6aee11253107f5d1857f4ff17a
|
||||
Loading…
x
Reference in New Issue
Block a user