diff --git a/submodules/Postbox/Sources/Postbox.swift b/submodules/Postbox/Sources/Postbox.swift index 1b1c5a0d54..28d04fa502 100644 --- a/submodules/Postbox/Sources/Postbox.swift +++ b/submodules/Postbox/Sources/Postbox.swift @@ -1639,7 +1639,7 @@ final class PostboxImpl { } } - if message.timestamp + 60 * 10 > timestampForAbsoluteTimeBasedOperations { + if Int64(message.timestamp) + 60 * 10 > Int64(timestampForAbsoluteTimeBasedOperations) { return .skip } var flags = StoreMessageFlags(message.flags)