Increase encrypted app list size limit

This commit is contained in:
Jonas Lochmann 2022-08-01 02:00:00 +02:00
parent 30a47a336c
commit 2ffde79530
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ import { AppLogicAction } from './basetypes'
import { InvalidActionParameterException } from './meta/exception' import { InvalidActionParameterException } from './meta/exception'
const actionType = 'UpdateInstalledAppsAction' const actionType = 'UpdateInstalledAppsAction'
const SIZE_LIMIT = 1024 * 256 const SIZE_LIMIT = 1024 * 512
export class UpdateInstalledAppsAction extends AppLogicAction { export class UpdateInstalledAppsAction extends AppLogicAction {
readonly base?: Buffer readonly base?: Buffer

View file

@ -51,7 +51,7 @@ export const generateServerDataStatus = async ({
familyEntry.hasFullVersion ? parseInt(familyEntry.fullVersionUntil, 10) : 0 familyEntry.hasFullVersion ? parseInt(familyEntry.fullVersionUntil, 10) : 0
), ),
message: await getStatusMessage({ database, transaction }) || undefined, message: await getStatusMessage({ database, transaction }) || undefined,
apiLevel: 4 apiLevel: 5
} }
if (familyEntry.deviceListVersion !== clientStatus.devices) { if (familyEntry.deviceListVersion !== clientStatus.devices) {