mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Translation fixes
This commit is contained in:
@@ -1119,7 +1119,7 @@ public final class ChatHistoryListNode: ListView, ChatHistoryNode {
|
||||
)
|
||||
|
||||
let translationState: Signal<ChatTranslationState?, NoError>
|
||||
if let peerId = chatLocation.peerId, peerId.namespace == Namespaces.Peer.CloudChannel {
|
||||
if let peerId = chatLocation.peerId, peerId.namespace != Namespaces.Peer.SecretChat && peerId != context.account.peerId && subject != .scheduledMessages {
|
||||
translationState = chatTranslationState(context: context, peerId: peerId)
|
||||
} else {
|
||||
translationState = .single(nil)
|
||||
|
||||
Reference in New Issue
Block a user