Be resilient to invalid incrementalMac value

This commit is contained in:
Fedor Indutny
2025-04-16 11:49:49 -07:00
committed by GitHub
parent 514509e2c7
commit 53b16c7484
7 changed files with 71 additions and 41 deletions

View File

@@ -192,17 +192,19 @@ export default {
),
validateBackup: async () => {
return {
totalBytes: 100,
stats: {
adHocCalls: 1,
callLinks: 2,
conversations: 3,
chats: 4,
distributionLists: 5,
messages: 6,
skippedMessages: 7,
stickerPacks: 8,
fixedDirectMessages: 9,
result: {
totalBytes: 100,
stats: {
adHocCalls: 1,
callLinks: 2,
conversations: 3,
chats: 4,
distributionLists: 5,
messages: 6,
skippedMessages: 7,
stickerPacks: 8,
fixedDirectMessages: 9,
},
},
};
},