mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
- Forum improvements
- Global autoremove settings
This commit is contained in:
@@ -75,6 +75,7 @@ public final class SeedConfiguration {
|
||||
public let defaultGlobalNotificationSettings: PostboxGlobalNotificationSettings
|
||||
public let mergeMessageAttributes: ([MessageAttribute], inout [MessageAttribute]) -> Void
|
||||
public let decodeMessageThreadInfo: (CodableEntry) -> Message.AssociatedThreadInfo?
|
||||
public let decodeAutoremoveTimeout: (CachedPeerData) -> Int32?
|
||||
|
||||
public init(
|
||||
globalMessageIdsPeerIdNamespaces: Set<GlobalMessageIdsNamespace>,
|
||||
@@ -99,7 +100,8 @@ public final class SeedConfiguration {
|
||||
getGlobalNotificationSettings: @escaping (Transaction) -> PostboxGlobalNotificationSettings?,
|
||||
defaultGlobalNotificationSettings: PostboxGlobalNotificationSettings,
|
||||
mergeMessageAttributes: @escaping ([MessageAttribute], inout [MessageAttribute]) -> Void,
|
||||
decodeMessageThreadInfo: @escaping (CodableEntry) -> Message.AssociatedThreadInfo?
|
||||
decodeMessageThreadInfo: @escaping (CodableEntry) -> Message.AssociatedThreadInfo?,
|
||||
decodeAutoremoveTimeout: @escaping (CachedPeerData) -> Int32?
|
||||
) {
|
||||
self.globalMessageIdsPeerIdNamespaces = globalMessageIdsPeerIdNamespaces
|
||||
self.initializeChatListWithHole = initializeChatListWithHole
|
||||
@@ -120,5 +122,6 @@ public final class SeedConfiguration {
|
||||
self.defaultGlobalNotificationSettings = defaultGlobalNotificationSettings
|
||||
self.mergeMessageAttributes = mergeMessageAttributes
|
||||
self.decodeMessageThreadInfo = decodeMessageThreadInfo
|
||||
self.decodeAutoremoveTimeout = decodeAutoremoveTimeout
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user