mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
Remove stop button
This commit is contained in:
parent
ef2c1d47cc
commit
6bcf266118
1 changed files with 6 additions and 6 deletions
|
|
@ -706,8 +706,8 @@ extension ChatControllerImpl {
|
|||
|
||||
let globalPrivacySettings = context.engine.data.get(TelegramEngine.EngineData.Item.Configuration.GlobalPrivacy())
|
||||
|
||||
let canStopIncomingStreamingMessage: Signal<Bool, NoError>
|
||||
if let peerId = chatLocation.peerId {
|
||||
let canStopIncomingStreamingMessage: Signal<Bool, NoError> = .single(false)
|
||||
/*if let peerId = chatLocation.peerId {
|
||||
let key = PeerAndThreadId(peerId: peerId, threadId: chatLocation.threadId)
|
||||
canStopIncomingStreamingMessage = context.account.postbox.combinedView(keys: [PostboxViewKey.typingDrafts(key)])
|
||||
|> map { views -> Bool in
|
||||
|
|
@ -719,7 +719,7 @@ extension ChatControllerImpl {
|
|||
|> distinctUntilChanged
|
||||
} else {
|
||||
canStopIncomingStreamingMessage = .single(false)
|
||||
}
|
||||
}*/
|
||||
|
||||
self.peerDisposable = combineLatest(
|
||||
queue: Queue.mainQueue(),
|
||||
|
|
@ -1400,8 +1400,8 @@ extension ChatControllerImpl {
|
|||
|
||||
let globalPrivacySettings = context.engine.data.get(TelegramEngine.EngineData.Item.Configuration.GlobalPrivacy())
|
||||
|
||||
let canStopIncomingStreamingMessage: Signal<Bool, NoError>
|
||||
if let peerId = chatLocation.peerId {
|
||||
let canStopIncomingStreamingMessage: Signal<Bool, NoError> = .single(false)
|
||||
/*if let peerId = chatLocation.peerId {
|
||||
let key = PeerAndThreadId(peerId: peerId, threadId: chatLocation.threadId)
|
||||
canStopIncomingStreamingMessage = context.account.postbox.combinedView(keys: [PostboxViewKey.typingDrafts(key)])
|
||||
|> map { views -> Bool in
|
||||
|
|
@ -1413,7 +1413,7 @@ extension ChatControllerImpl {
|
|||
|> distinctUntilChanged
|
||||
} else {
|
||||
canStopIncomingStreamingMessage = .single(false)
|
||||
}
|
||||
}*/
|
||||
|
||||
self.peerDisposable = (combineLatest(queue: Queue.mainQueue(),
|
||||
peerView,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue