mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Update API
This commit is contained in:
@@ -8,7 +8,7 @@ private func hashForIdsReverse(_ ids: [Int64]) -> Int32 {
|
||||
var acc: UInt64 = 0
|
||||
|
||||
for id in ids {
|
||||
acc = (acc &* 20261) &+ UInt64(bitPattern: id)
|
||||
combineInt64Hash(&acc, with: UInt64(bitPattern: id))
|
||||
}
|
||||
return Int32(bitPattern: UInt32(clamping: acc & UInt64(0x7FFFFFFF)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user