Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin
2023-03-29 10:15:48 +04:00
21 changed files with 581 additions and 220 deletions

View File

@@ -256,6 +256,7 @@ private enum PreferencesKeyValues: Int32 {
case globalMessageAutoremoveTimeoutSettings = 27
case accountSpecificCacheStorageSettings = 28
case linksConfiguration = 29
case chatListFilterUpdates = 30
}
public func applicationSpecificPreferencesKey(_ value: Int32) -> ValueBoxKey {
@@ -402,6 +403,12 @@ public struct PreferencesKeys {
key.setInt32(0, value: PreferencesKeyValues.linksConfiguration.rawValue)
return key
}()
public static let chatListFilterUpdates: ValueBoxKey = {
let key = ValueBoxKey(length: 4)
key.setInt32(0, value: PreferencesKeyValues.chatListFilterUpdates.rawValue)
return key
}()
}
private enum SharedDataKeyValues: Int32 {