[WIP] Release changes

This commit is contained in:
Isaac
2024-01-26 15:33:01 +01:00
parent ce83d7510f
commit 953e1598f7
93 changed files with 4096 additions and 556 deletions

View File

@@ -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
}
}