From 13f00db4e41c6533f926a6a9fbbf05ff9fc7097a Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Tue, 27 Nov 2018 21:26:45 +0400 Subject: [PATCH] Application-specific item cache collection ids --- TelegramCore/Namespaces.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TelegramCore/Namespaces.swift b/TelegramCore/Namespaces.swift index 64c77b5623..de2d804107 100644 --- a/TelegramCore/Namespaces.swift +++ b/TelegramCore/Namespaces.swift @@ -247,3 +247,7 @@ public struct SharedDataKeys { return key }() } + +public func applicationSpecificItemCacheCollectionId(_ value: Int8) -> Int8 { + return 64 + value +}