mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix crash
This commit is contained in:
@@ -5,7 +5,7 @@ import MurMurHash32
|
||||
|
||||
func addSynchronizeEmojiKeywordsOperation(transaction: Transaction, inputLanguageCode: String, languageCode: String?, fromVersion: Int32?) {
|
||||
let tag = OperationLogTags.SynchronizeEmojiKeywords
|
||||
let peerId = PeerId(namespace: PeerId.Namespace._internalFromInt32Value(0), id: PeerId.Id._internalFromInt64Value(Int64(murMurHashString32(inputLanguageCode))))
|
||||
let peerId = PeerId(namespace: PeerId.Namespace._internalFromInt32Value(1), id: PeerId.Id._internalFromInt64Value(Int64(murMurHashString32(inputLanguageCode))))
|
||||
|
||||
var hasExistingOperation = false
|
||||
transaction.operationLogEnumerateEntries(peerId: peerId, tag: tag) { entry -> Bool in
|
||||
|
||||
Reference in New Issue
Block a user