mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix crash
This commit is contained in:
parent
d72a9079ba
commit
0c27dea3bf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user