mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Release changes
This commit is contained in:
@@ -56,6 +56,7 @@ public final class ChatMessageItemAssociatedData: Equatable {
|
||||
public let chatThemes: [TelegramTheme]
|
||||
public let deviceContactsNumbers: Set<String>
|
||||
public let isStandalone: Bool
|
||||
public let isInline: Bool
|
||||
|
||||
public init(
|
||||
automaticDownloadPeerType: MediaAutoDownloadPeerType,
|
||||
@@ -85,7 +86,8 @@ public final class ChatMessageItemAssociatedData: Equatable {
|
||||
audioTranscriptionTrial: AudioTranscription.TrialState = .defaultValue,
|
||||
chatThemes: [TelegramTheme] = [],
|
||||
deviceContactsNumbers: Set<String> = Set(),
|
||||
isStandalone: Bool = false
|
||||
isStandalone: Bool = false,
|
||||
isInline: Bool = false
|
||||
) {
|
||||
self.automaticDownloadPeerType = automaticDownloadPeerType
|
||||
self.automaticDownloadPeerId = automaticDownloadPeerId
|
||||
@@ -115,6 +117,7 @@ public final class ChatMessageItemAssociatedData: Equatable {
|
||||
self.chatThemes = chatThemes
|
||||
self.deviceContactsNumbers = deviceContactsNumbers
|
||||
self.isStandalone = isStandalone
|
||||
self.isInline = isInline
|
||||
}
|
||||
|
||||
public static func == (lhs: ChatMessageItemAssociatedData, rhs: ChatMessageItemAssociatedData) -> Bool {
|
||||
@@ -199,6 +202,9 @@ public final class ChatMessageItemAssociatedData: Equatable {
|
||||
if lhs.isStandalone != rhs.isStandalone {
|
||||
return false
|
||||
}
|
||||
if lhs.isInline != rhs.isInline {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user